We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcb2342 commit b1a8fbcCopy full SHA for b1a8fbc
src/HeroTrait.php
@@ -79,6 +79,8 @@ public function execOnShutdown() : void
79
80
// ZF Mvc project
81
if ($this instanceof Listener\Mvc) {
82
+ Assert::isInstanceOf($this->mvcEvent, MvcEvent::class);
83
+
84
ob_start();
85
$this->mvcEvent->setParam('exception', $errorException);
86
$this->exceptionError($this->mvcEvent);
0 commit comments