public function onPostRun(PostRunEvent $event) { if ($event->getResults()->size() > 0) { $this->hookedPostRun = true; } }