Skip to content

Commit eedc945

Browse files
committed
suppress phpstan deprecation warning
1 parent ad2e232 commit eedc945

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Authentication/Passwords/ValidationRules.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public function strong_password(string $value, ?string &$error1 = null, array $d
4040
if (function_exists('auth') && auth()->user()) {
4141
$user = auth()->user();
4242
} else {
43+
/** @phpstan-ignore-next-line */
4344
$user = empty($data) ? $this->buildUserFromRequest() : $this->buildUserFromData($data);
4445
}
4546

@@ -67,8 +68,6 @@ public function max_byte(?string $str, string $val): bool
6768
/**
6869
* Builds a new user instance from the global request.
6970
*
70-
* @phpstan-ignore-next-line
71-
*
7271
* @deprecated This will be removed soon.
7372
*
7473
* @see https://github.com/codeigniter4/shield/pull/747#discussion_r1198778666

0 commit comments

Comments
 (0)