Skip to content

Commit ec31c7b

Browse files
committed
bool return type declaration at HeroTrait::isUncaught()
1 parent c67dd3e commit ec31c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HeroTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function phpError() : void
4545
\set_error_handler([$this, 'phpErrorHandler']);
4646
}
4747

48-
private static function isUncaught(array $error)
48+
private static function isUncaught(array $error) : bool
4949
{
5050
return 0 === strpos($error['message'], 'Uncaught');
5151
}

0 commit comments

Comments
 (0)