Add the @return types

This commit is contained in:
2022-07-27 10:26:43 +02:00
parent 89e26be943
commit ed8449d321
13 changed files with 30 additions and 31 deletions

View File

@@ -82,7 +82,7 @@ class Authentication
/** Setter/Getter for debug
* @param integer|null $debug The debug value to get/set
* @return the actual value or this
* @return integer|self the actual value or this
*/
public function debug ($debug = null)
// {{{
@@ -380,7 +380,7 @@ class Authentication
* properties of the class.
* @param string $email The email to check
* @param string $password The password to check
* @return an array containing the user data if the authentication is
* @return array containing the user data if the authentication is
* correct,
* an exception if noting is found
*/