Skip to content

Commit b497d95

Browse files
committed
add test
1 parent 86af821 commit b497d95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Collector.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
final class Collector
1111
{
1212
/** @var array<int|string, mixed>|Traversable<int|string, mixed> */
13-
private static iterable $data = [];
13+
private iterable $data = [];
1414

1515
/** @var callable(mixed $datum, int|string|null $key=): bool|null */
1616
private $when;
@@ -25,8 +25,8 @@ final class Collector
2525
*/
2626
public static function setUp(iterable $data): self
2727
{
28-
$self = new self();
29-
$self->$data = $data;
28+
$self = new self();
29+
$self->data = $data;
3030

3131
return $self;
3232
}

0 commit comments

Comments
 (0)