It seems like array(new \Jose\Checker\...ker\NotBeforeChecker()) of type array<integer,object<Jos...r\\NotBeforeChecker>"}> is incompatible with the declared type array<integer,object<Jos...ClaimCheckerInterface>> of property $claim_checkers.
Our type inference engine has found an assignment to a property that is incompatible
with the declared type of that property.
Either this assignment is in error or the assigned type should be added
to the documentation/type hint for that property..
Loading history...
37
new ExpirationTimeChecker(),
38
new IssuedAtChecker(),
39
new NotBeforeChecker(),
40
];
41
}
42
43
/**
44
* {@inheritdoc}
45
*/
46
public function checkJWT(JWTInterface $jwt)
47
{
48
$checked_claims = [];
49
50
foreach ($this->claim_checkers as $claim_checker) {
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..