The type Biscolab\GoogleMaps\Object\AbstractObject was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. excluded_paths:["lib/*"],
you can move it to the dependency path list as follows:
The expression $params of type array is implicitly converted to a boolean; are you sure this is intended? If so, consider using ! empty($expr) instead to make it clear that you intend to check for an array without elements.
This check marks implicit conversions of arrays to boolean values in a comparison. While in PHP an
empty array is considered to be equal (but not identical) to false, this is not always apparent.
Consider making the comparison explicit by using empty(..) or !empty(...) instead.
Loading history...
34
foreach ($params as $param_name => $param_value) {
35
$this->addParam($param_name, $param_value);
36
}
37
}
38
}
39
40
/**
41
* @param string $param_name
42
* @param AbstractObject $param_value
43
*
44
* @return GoogleMapsRequest
45
*/
46
public function addParam(string $param_name, $param_value): GoogleMapsRequest {
47
48
$this->params[$param_name] = $param_value;
49
50
return $this;
51
}
52
53
/**
54
* @return string
55
*/
56
public function getQuery(): string {
57
58
$params = [];
59
60
foreach ($this->params as $param_name => $param_value) {
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths