It seems like the GitHub access token used for retrieving details about this repository from
GitHub became invalid. This might prevent certain types of inspections from being run (in
particular,
everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
The method whereToken() does not exist on Illuminate\Contracts\Foundation\Application.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
18
$user = app(config('verify-new-email.model'))->/** @scrutinizer ignore-call */ whereToken($token)->firstOr(['*'], function () {
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
It seems like __('The verification link is not valid anymore.') can also be of type array and array; however, parameter $message of ProtoneMedia\LaravelVeri...xception::__construct() does only seem to accept string, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
20
/** @scrutinizer ignore-type */ __('The verification link is not valid anymore.')
Loading history...
21
);
22
})->tap(function ($pendingUserEmail) {
23
$pendingUserEmail->activate();
24
})->user;
25
26
if (config('verify-new-email.login_after_verification')) {
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.