It seems like assertSee() 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
40
$this->/** @scrutinizer ignore-call */
41
assertSee('Logout');
Loading history...
41
42
return $this;
43
}
44
45
/**
46
* @return static
47
*/
48
public function assertLoggedInAs(string $user): self