Skip to content

Commit db2fbf6

Browse files
committed
cs
1 parent 0218d9b commit db2fbf6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/HeroFunction.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ function isExcludedException(array $excludeExceptionsConfig, Throwable $t)
2323
return true;
2424
}
2525

26-
if (is_array($excludeException) && $excludeException[0] === $exceptionOrErrorClass && $excludeException[1] === $t->getMessage()) {
26+
if (is_array($excludeException)
27+
&& $excludeException[0] === $exceptionOrErrorClass
28+
&& $excludeException[1] === $t->getMessage()
29+
) {
2730
return true;
2831
}
2932
}

src/HeroTrait.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,10 @@ public function phpErrorHandler(int $errorType, string $errorMessage, string $er
110110
return;
111111
}
112112

113-
if (is_array($excludePhpError) && $excludePhpError[0] === $errorType && $excludePhpError[1] === $errorMessage) {
113+
if (is_array($excludePhpError)
114+
&& $excludePhpError[0] === $errorType
115+
&& $excludePhpError[1] === $errorMessage
116+
) {
114117
return;
115118
}
116119
}

0 commit comments

Comments
 (0)