Prechádzať zdrojové kódy

[Security] Fixed typo

Pascal Borreli 14 rokov pred
rodič
commit
2fbb8e07f8

+ 1 - 1
src/Symfony/Component/Security/Acl/Dbal/AclProvider.php

@@ -466,7 +466,7 @@ class AclProvider implements AclProviderInterface
     }
 
     /**
-     * Constructs the query used for looking up object identites and associated
+     * Constructs the query used for looking up object identities and associated
      * ACEs, and security identities.
      *
      * @param array $batch

+ 1 - 1
src/Symfony/Component/Security/Acl/Model/ObjectIdentityRetrievalStrategyInterface.php

@@ -19,7 +19,7 @@ namespace Symfony\Component\Security\Acl\Model;
 interface ObjectIdentityRetrievalStrategyInterface
 {
     /**
-     * Retrievies the object identity from a domain object
+     * Retrieves the object identity from a domain object
      *
      * @param object $domainObject
      * @return ObjectIdentityInterface

+ 2 - 2
src/Symfony/Component/Security/Acl/Model/PermissionGrantingStrategyInterface.php

@@ -36,8 +36,8 @@ interface PermissionGrantingStrategyInterface
      * @param string $field
      * @param array $masks
      * @param array $sids
-     * @param Boolean $adminstrativeMode
+     * @param Boolean $administrativeMode
      * @return Boolean
      */
-    function isFieldGranted(AclInterface $acl, $field, array $masks, array $sids, $adminstrativeMode = false);
+    function isFieldGranted(AclInterface $acl, $field, array $masks, array $sids, $administrativeMode = false);
 }

+ 1 - 1
src/Symfony/Component/Security/Http/Firewall/SwitchUserListener.php

@@ -29,7 +29,7 @@ use Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundE
 use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
 
 /**
- * SwitchUserListener allows a user to impersonate another one temporarly
+ * SwitchUserListener allows a user to impersonate another one temporarily
  * (like the Unix su command).
  *
  * @author Fabien Potencier <fabien.potencier@symfony-project.com>

+ 1 - 1
src/Symfony/Component/Security/Http/Logout/CookieClearingLogoutHandler.php

@@ -16,7 +16,7 @@ use Symfony\Component\HttpFoundation\Response;
 use Symfony\Component\HttpFoundation\Request;
 
 /**
- * This handler cleares the passed cookies when a user logs out.
+ * This handler clears the passed cookies when a user logs out.
  *
  * @author Johannes M. Schmitt <schmittjoh@gmail.com>
  */