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 aa2913d commit 92184d9Copy full SHA for 92184d9
src/ExceptionHandler.php
@@ -37,7 +37,7 @@ public function __construct(
37
private array $runBeforeCallback = [],
38
private array $runAfterCallback = []
39
) {
40
- if ($callback && !is_callable($callback)) {
+ if (!is_callable($callback)) {
41
throw new NotCallableException();
42
}
43
0 commit comments