File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,12 @@ public function setBcryptCost($value)
4040
4141 /**
4242 * Check password using bcrypt
43+ *
44+ * @param array<string, string> $user
45+ * @param string $password
46+ * @return bool
4347 */
44- protected function checkPassword (string $ user , string $ password ): bool
48+ protected function checkPassword ($ user , $ password )
4549 {
4650 return $ this ->verifyHash ($ password , $ user ['password ' ]);
4751 }
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public function setBcryptCost($value)
4949 /**
5050 * Check password using bcrypt
5151 *
52- * @param string $user
52+ * @param array< string, string> $user
5353 * @param string $password
5454 * @return bool
5555 */
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public function setBcryptCost($value)
4646 /**
4747 * Check password using bcrypt
4848 *
49- * @param string $user
49+ * @param array<array-key, mixed> $user
5050 * @param string $password
5151 * @return bool
5252 */
You can’t perform that action at this time.
0 commit comments