It seems like context() 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
The expression return $honeybadger returns the type Honeybadger\Concerns\Newable which includes types incompatible with the type-hinted return Honeybadger\Honeybadger.
Loading history...
53
}
54
55
/**
56
* Send an exception to Honeybadger.
57
*
58
* @param Throwable $throwable
59
* @param array $additionalParams
60
* @return array
61
*/
62
1
public function notify(Throwable $throwable, array $additionalParams = [])