Commit 2db7baa
committed
Correct LoginRequest retrieved user type to allow null
The issue was caused by a too-strict PHPDoc that assumed the retrieved user is always a User. However, `retrieveByCredentials()` can return null.
This aligns the docblock with the actual return type, making the subsequent null/credential checks type-safe.1 parent 904c9ff commit 2db7baa
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments