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 86af821 commit b497d95Copy full SHA for b497d95
src/Collector.php
@@ -10,7 +10,7 @@
10
final class Collector
11
{
12
/** @var array<int|string, mixed>|Traversable<int|string, mixed> */
13
- private static iterable $data = [];
+ private iterable $data = [];
14
15
/** @var callable(mixed $datum, int|string|null $key=): bool|null */
16
private $when;
@@ -25,8 +25,8 @@ final class Collector
25
*/
26
public static function setUp(iterable $data): self
27
28
- $self = new self();
29
- $self->$data = $data;
+ $self = new self();
+ $self->data = $data;
30
31
return $self;
32
}
0 commit comments