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('links', $name, $link);
Loading history...
70
71
6
return $this;
72
}
73
74
/**
75
* Fill the "links" member with fake values.
76
*
77
* @param array $links
78
*
79
* @return static
80
*/
81
39
public function fakeLinks($links = ['self' => ['url']])
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