The expression return self::cache could return the type null which is incompatible with the type-hinted return Reli\Inspector\Output\Tr...ompatCallTraceFormatter. Consider adding an additional type-check to rule them out.
Loading history...
36
}
37
38
public function format(CallTrace $call_trace): string
39
{
40
$frames = [];
41
foreach ($call_trace->call_frames as $call_frame) {