public function getErrors() { if (isset($this->report)) { return $this->report->getErrors(); } else { return []; } }