Completed
Pull Request — master (#8)
by
unknown
02:15
created
src/Jasny/Auth.php 1 patch
Doc Comments   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * Get current authenticated user id
58 58
      * 
59
-     * @return mixed
59
+     * @return integer
60 60
      */
61 61
     protected static function getCurrentUserId()
62 62
     {
@@ -79,7 +79,9 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * Fetch user and verify password
81 81
      * 
82
-     * @return User|false
82
+     * @param string $username
83
+     * @param string $password
84
+     * @return User
83 85
      */
84 86
     public static function verify($username, $password)
85 87
     {
@@ -94,7 +96,7 @@  discard block
 block discarded – undo
94 96
      * 
95 97
      * @param string $username
96 98
      * @param string $password
97
-     * @return boolean
99
+     * @return null|boolean
98 100
      */
99 101
     public static function login($username, $password)
100 102
     {
@@ -186,7 +188,7 @@  discard block
 block discarded – undo
186 188
     /**
187 189
      * Generate a confirmation hash
188 190
      * 
189
-     * @param User|int $user
191
+     * @param string $user
190 192
      * @return string
191 193
      */
192 194
     public static function generateConfirmationHash($user)
Please login to merge, or discard this patch.