瀏覽代碼

[Security] Fixed Typo

Pascal Borreli 14 年之前
父節點
當前提交
843d5a8399

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

@@ -251,7 +251,8 @@ class AclProvider implements AclProviderInterface
      * @param array $batch
      * @param array $sids
      * @param array $oidLookup
-     * @return \SplObjectStorage mapping object identites to ACL instances
+     *
+     * @return \SplObjectStorage mapping object identities to ACL instances
      */
     protected function lookupObjectIdentities(array $batch, array $sids, array $oidLookup)
     {

+ 7 - 5
src/Symfony/Component/Security/Http/RememberMe/TokenBasedRememberMeServices.php

@@ -117,13 +117,15 @@ class TokenBasedRememberMeServices extends RememberMeServices
     }
 
     /**
-     * Generates the cookie value
+     * Generates the cookie value.
+     *
+     * @param string  $class
+     * @param string  $username The username
+     * @param integer $expires  The unixtime when the cookie expires
+     * @param string  $password The encoded password
      *
-     * @param strign $class
-     * @param string $username The username
-     * @param integer $expires The unixtime when the cookie expires
-     * @param string $password The encoded password
      * @throws \RuntimeException if username contains invalid chars
+     *
      * @return string
      */
     protected function generateCookieValue($class, $username, $expires, $password)