Skip to content

Commit

Permalink
remove returns type declaration for phpFatalErrorHandler callback
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Sep 20, 2018
1 parent c456b9a commit f1dc0fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HeroTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ trait HeroTrait
/** @var string */
private $result = '';

public function phpFatalErrorHandler($buffer): string
public function phpFatalErrorHandler($buffer)
{
$error = \error_get_last();
if (! $error) {
Expand Down

0 comments on commit f1dc0fd

Please sign in to comment.