The method throw() does not exist on TheCaliskan\TDK\TDKServiceProvider.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
27
$this->/** @scrutinizer ignore-call */
28
throw();
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.
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
29
if (isset($this->/** @scrutinizer ignore-call */ json()['error'])) {
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.
$this of type TheCaliskan\TDK\TDKServiceProvider is incompatible with the type Illuminate\Http\Client\Response expected by parameter $response of TheCaliskan\TDK\TDKException::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
30
throw new TDKException(/** @scrutinizer ignore-type */ $this);
Loading history...
31
}
32
33
return $this;
34
});
35
36
$this->app->singleton('thecaliskan-tdk', function ($app) {
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.