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
69
$this->/** @scrutinizer ignore-call */
70
addToObject('attributes', $name, $value);
Loading history...
70
71
6
return $this;
72
}
73
74
/**
75
* Fill the "attributes" object with fake members and values.
76
*
77
* @param integer $count The number of attributes 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