It seems like array('headers' => array...('API_FOOTBALL_DATA'))) of type array<string,array<string,string>> is incompatible with the declared type string of property $options.
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..
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->options of type string is incompatible with the type array expected by parameter $options of GuzzleHttp\Client::get().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
$this->options of type string is incompatible with the type array expected by parameter $options of GuzzleHttp\Client::get().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
It seems like new GuzzleHttp\Client(ar...i.football-data.org/')) of type GuzzleHttp\Client is incompatible with the declared type App\GameApi\Business\ApiFootballData\Client of property $client.
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..
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..