The expression return $this->duration could return the type null which is incompatible with the type-hinted return integer. Consider adding an additional type-check to rule them out.
Loading history...
43
}
44
45
13
final public function getFormattedDuration(): string
The expression return Symfony\Component...e($this->getDuration()) could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
The expression return $this->memory could return the type null which is incompatible with the type-hinted return integer. Consider adding an additional type-check to rule them out.
Loading history...
55
}
56
57
73
final public function getFormattedMemory(): string
58
{
59
73
return Helper::formatMemory($this->getMemory());
60
73
}
61
73
62
final protected function markAsRun(int $memory): void