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 ef85b23 commit 29f313bCopy full SHA for 29f313b
src/HeroTrait.php
@@ -33,11 +33,7 @@ public function phpFatalErrorHandler($buffer): string
33
return $buffer;
34
}
35
36
- if ($this->result === '') {
37
- return $buffer;
38
- }
39
-
40
- return $this->result;
+ return $this->result === '' ? $buffer : $this->result;
41
42
43
public function execOnShutdown() : void
0 commit comments