We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bbed52 commit 8ef886cCopy full SHA for 8ef886c
src/AuthorizationValidators/BearerTokenValidator.php
@@ -83,11 +83,11 @@ private function initJwtConfiguration(): void
83
];
84
85
// TODO: next major release: remove this check
86
- // @phpstan-ignore function.alreadyNarrowedType
+ // @phpstan-ignore-next-line
87
if (method_exists($this->jwtConfiguration, 'withValidationConstraints') === true) {
88
$this->jwtConfiguration = $this->jwtConfiguration->withValidationConstraints(...$validationConstraints);
89
} else {
90
- // @phpstan-ignore method.deprecated
91
$this->jwtConfiguration->setValidationConstraints(...$validationConstraints);
92
}
93
0 commit comments