It seems like setUserAgent() 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
14
$this->/** @scrutinizer ignore-call */
15
setUserAgent('Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0');
Loading history...
15
16
5
return $this;
17
}
18
19
/**
20
* An self::setUserAgent()'s alias to add an user-agent wich correspond to a mobile.