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
48
$this->/** @scrutinizer ignore-call */
49
addToObject('links', $name, $link);
Loading history...
49
50
2
return $this;
51
}
52
53
/**
54
* Undocumented function
55
*
56
* @param array $keys
57
*
58
* @return static
59
*/
60
7
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