diff --git a/src/HeroTrait.php b/src/HeroTrait.php index 2096218d..bf6cfa1d 100644 --- a/src/HeroTrait.php +++ b/src/HeroTrait.php @@ -33,6 +33,10 @@ public function phpFatalErrorHandler($buffer): string return $buffer; } + if ($this->result === '') { + return $buffer; + } + return $this->result; }