Skip to content
Snippets Groups Projects
Unverified Commit c2f70444 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

userhelper: fix optional parameter being declared before a required one

parent d4be8218
No related branches found
No related tags found
No related merge requests found
......@@ -494,7 +494,7 @@ class UserHelper {
* @param string $password password to compare hash against
* @return bool
*/
static function user_has_password(?int $owner_uid = null, string $password) : bool {
static function user_has_password(?int $owner_uid, string $password) : bool {
if ($owner_uid) {
$authenticator = new Auth_Internal();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment