Completed
Push — master ( d0f1e3...23c3c8 )
by Arnold
01:57
created
src/Jasny/Auth.php 1 patch
Doc Comments   +5 added lines, -3 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
     {
Please login to merge, or discard this patch.