The method has() does not exist on MiotApi\Contract\Specification\ActionSpecification. Since you implemented __call, consider adding a @method annotation.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
44
if ($this->/** @scrutinizer ignore-call */ has('in')) {
Loading history...
45
$ins = $this->__get('in');
46
if (!empty($ins)) {
47
foreach ($ins as $index => $property) {
48
$this->in[] = new PropertySpecification($property);
49
}
50
}
51
}
52
53
if ($this->has('out')) {
54
$outs = $this->__get('out');
55
if (!empty($outs)) {
56
foreach ($outs as $index => $property) {
57
$this->out[] = new PropertySpecification($property);