We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e34bfe8 commit 9f715f9Copy full SHA for 9f715f9
1 file changed
src/Models/UserModel.php
@@ -204,6 +204,7 @@ public function findByCredentials(array $credentials): ?User
204
}
205
206
if ($email !== null) {
207
+ /** @var array<string, int|string|null>|null $data */
208
$data = $this->select(
209
sprintf('%1$s.*, %2$s.secret as email, %2$s.secret2 as password_hash', $this->table, $this->tables['identities'])
210
)
0 commit comments