Skip to content

Commit 2d03c22

Browse files
committed
re-run rector on latest
1 parent 68a3e0c commit 2d03c22

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/HeroTrait.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727

2828
trait HeroTrait
2929
{
30-
/** @var string */
31-
private $result = '';
30+
private string $result = '';
3231

3332
/**
3433
* @param mixed $args
@@ -108,7 +107,7 @@ public function execOnShutdown(): void
108107
*/
109108
public function phpErrorHandler(int $errorType, string $errorMessage, string $errorFile, int $errorLine): void
110109
{
111-
if (! (error_reporting() & $errorType)) {
110+
if ((error_reporting() & $errorType) === 0) {
112111
return;
113112
}
114113

0 commit comments

Comments
 (0)