public function collectInspectionsOnApplicationFinish(EventInterface $event)
    {
        $inspection = $this->inspector->inspect($event);
        $uuid       = $this->uuidGenerator->generateUUID();

        $this->inspectionRepository->add($uuid, $inspection);

        $event->setParam(self::PARAM_INSPECTION, $inspection);
        $event->setParam(self::PARAM_INSPECTION_ID, $uuid);

        return $uuid;
    }