We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe0b9b7 commit b7eb3acCopy full SHA for b7eb3ac
src/ExceptionHandler.php
@@ -43,7 +43,7 @@ public function __construct(
43
44
$methodNames = array_merge($runBeforeCallback, $runAfterCallback);
45
46
- if (array_filter($methodNames, fn ($method) => (!is_string($method) || $method = ''))) {
+ if (array_filter($methodNames, fn ($method) => (!is_string($method) || $method === ''))) {
47
throw new WrongMethodNameException();
48
}
49
0 commit comments