diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-12-16 07:35:56 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-12-16 07:35:56 +0000 |
| commit | 1cd587fa0413bdbae1fc3bdca10ccc2a1fee7c07 (patch) | |
| tree | 14bafcf0798157baab784b59d22190554e804c18 /lib/classes | |
| parent | 52e6b5643310ba1f8b2f1f26ac4f2e03d39b476d (diff) | |
fix coding style and some bugs, re #1552
Merge request studip/studip!3764
Diffstat (limited to 'lib/classes')
| -rw-r--r-- | lib/classes/auth_plugins/StudipAuthAbstract.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/classes/auth_plugins/StudipAuthAbstract.php b/lib/classes/auth_plugins/StudipAuthAbstract.php index 65da54b..eea4538 100644 --- a/lib/classes/auth_plugins/StudipAuthAbstract.php +++ b/lib/classes/auth_plugins/StudipAuthAbstract.php @@ -111,7 +111,7 @@ class StudipAuthAbstract * always use this method to instantiate a plugin object, it will ensure that only one object of each * plugin will exist * @param string $plugin_name name of plugin, if omitted an array with all plugin objects will be returned - * @return mixed either a reference to the plugin with the passed name, or an array with references to all plugins + * @return static|static[] either a reference to the plugin with the passed name, or an array with references to all plugins */ public static function getInstance($plugin_name = false) { @@ -341,7 +341,7 @@ class StudipAuthAbstract * initialize the new user * @param string $username the username to check * @param string $password the password to check - * @return string if authentication succeeds the Stud.IP user , else false + * @return User|false if authentication succeeds the Stud.IP user , else false */ public function authenticateUser($username, $password) { |
