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 29b6d2b commit 3e18640Copy full SHA for 3e18640
src/Collector.php
@@ -72,7 +72,7 @@ public function getResults(): array
72
$collectedData = [];
73
$isCallableWhen = is_callable($this->when);
74
75
- if (is_callable($this->when)) {
+ if ($isCallableWhen) {
76
// filter must be a callable with bool return type
77
Filter::boolean($this->when);
78
}
0 commit comments