PHPStan improvements #70
Annotations
8 errors
phpstan:
src/Pages/TwoFactor.php#L63
Cannot access property $two_factor_confirmed_at on Illuminate\Foundation\Auth\User|null.
|
phpstan:
src/Pages/TwoFactor.php#L76
Method Vormkracht10\TwoFactorAuth\Pages\TwoFactor::getConfirmationForm() return type has no value type specified in iterable type array.
|
phpstan:
src/Pages/TwoFactor.php#L95
Unable to resolve the template type TKey in call to function collect
|
phpstan:
src/Pages/TwoFactor.php#L95
Unable to resolve the template type TValue in call to function collect
|
phpstan:
src/Pages/TwoFactor.php#L137
Offset 'two_factor_type' does not exist on array{}|array{email?: mixed, two_factor_type?: Vormkracht10\TwoFactorAuth\Enums\TwoFactorType|null}.
|
phpstan:
src/Pages/TwoFactor.php#L145
Cannot call method update() on Illuminate\Foundation\Auth\User|null.
|
phpstan:
src/Pages/TwoFactor.php#L174
Cannot access property $two_factor_confirmed_at on Illuminate\Foundation\Auth\User|null.
|
phpstan
Process completed with exit code 1.
|