It seems like addToObject() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
55
$this->/** @scrutinizer ignore-call */
56
addToObject(Members::META, $name, $value);
Loading history...
56
57
15
return $this;
58
}
59
60
/**
61
* Fill the "meta" member with fake values.
62
*
63
* @param integer $count The number of values to generate.
It seems like fakeMembers() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation