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 9841dd1 commit ec4654bCopy full SHA for ec4654b
src/Collector.php
@@ -78,11 +78,7 @@ public function getResults(): array
78
79
foreach ($this->data as $key => $datum) {
80
if ($this->when !== null) {
81
- /**
82
- * @var callable(mixed $datum, int|string|null $key): bool $when
83
- */
84
- $when = $this->when;
85
- $isFound = ($when)($datum, $key);
+ $isFound = ($this->when)($datum, $key);
86
87
if (! $isFound) {
88
continue;
0 commit comments