Skip to content

Commit c1606db

Browse files
committed
fix: avoid type error (arg must be int, null given)
1 parent 532a2e4 commit c1606db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/UserProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function loadUserByUsername($username)
4343
} catch (RuntimeException $e) {
4444
throw new UsernameNotFoundException(
4545
"A User named \"{$username}\" cannot be found in Userbase.",
46-
null,
46+
0,
4747
$e
4848
);
4949
}

0 commit comments

Comments
 (0)