The method has() does not exist on MiotApi\Contract\Specification\EventSpecification. 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
35
if ($this->/** @scrutinizer ignore-call */ has('arguments')) {
Loading history...
36
$arguments = $this->__get('arguments');
37
if (!empty($arguments)) {
38
foreach ($arguments as $argument) {
39
$this->arguments[] = new PropertySpecification($argument);