The call to Hepa19\IPGeo\IPStackMock::getData() has too many arguments starting with $location.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
26
/** @scrutinizer ignore-call */
27
$ipstackRes = $ipstack->getData($location);
This check compares calls to functions or methods with their respective definitions.
If the call has more arguments than are defined, it raises an issue.
If a function is defined several times with a different number of parameters, the
check may pick up the wrong definition and report false positives. One codebase
where this has been known to happen is Wordpress. Please note the @ignore annotation hint above.
The call to Hepa19\Weather\WeatherModelMock::getData() has too many arguments starting with $lat.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
41
/** @scrutinizer ignore-call */
42
$weatherInfo = $weather->getData($lat, $lon);
This check compares calls to functions or methods with their respective definitions.
If the call has more arguments than are defined, it raises an issue.
If a function is defined several times with a different number of parameters, the
check may pick up the wrong definition and report false positives. One codebase
where this has been known to happen is Wordpress. Please note the @ignore annotation hint above.
Loading history...
42
43
2
return $weatherInfo;
44
}
45
46
47
48
/**
49
* Get weather data multi
50
*
51
* @return object
52
*/
53
1
public function getMultiData($weather, $lat, $lon)
The call to Hepa19\Weather\WeatherModelMock::getData() has too many arguments starting with $lat.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
56
/** @scrutinizer ignore-call */
57
$weatherInfo = $weather->getData($lat, $lon);
This check compares calls to functions or methods with their respective definitions.
If the call has more arguments than are defined, it raises an issue.
If a function is defined several times with a different number of parameters, the
check may pick up the wrong definition and report false positives. One codebase
where this has been known to happen is Wordpress. Please note the @ignore annotation hint above.
This check compares calls to functions or methods with their respective definitions. If the call has more arguments than are defined, it raises an issue.
If a function is defined several times with a different number of parameters, the check may pick up the wrong definition and report false positives. One codebase where this has been known to happen is Wordpress. Please note the @ignore annotation hint above.