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
71
$this->/** @scrutinizer ignore-call */
72
addToObject(Members::ATTRIBUTES, $name, $value);
Loading history...
72
73
6
return $this;
74
}
75
76
/**
77
* Fill the "attributes" object with fake members and values.
78
*
79
* @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