Skip to content

Commit 86af821

Browse files
committed
cs fix
1 parent d092d09 commit 86af821

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

src/Collector.php

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,13 @@
99

1010
final class Collector
1111
{
12-
/**
13-
* @var array<int|string, mixed>|Traversable<int|string, mixed>
14-
*/
12+
/** @var array<int|string, mixed>|Traversable<int|string, mixed> */
1513
private static iterable $data = [];
1614

17-
/**
18-
* @var callable(mixed $datum, int|string|null $key=): bool|null
19-
*/
15+
/** @var callable(mixed $datum, int|string|null $key=): bool|null */
2016
private $when;
2117

22-
/**
23-
* @var callable(mixed $datum, int|string|null $key=): mixed
24-
*/
18+
/** @var callable(mixed $datum, int|string|null $key=): mixed */
2519
private $transform;
2620

2721
private ?int $limit = null;
@@ -31,7 +25,7 @@ final class Collector
3125
*/
3226
public static function setUp(iterable $data): self
3327
{
34-
$self = new self();
28+
$self = new self();
3529
$self->$data = $data;
3630

3731
return $self;
@@ -72,7 +66,7 @@ public function getResults(): array
7266
Assert::isCallable($this->when);
7367
Assert::isCallable($this->transform);
7468

75-
$count = 0;
69+
$count = 0;
7670
$collectedData = [];
7771

7872
foreach ($this->data as $key => $datum) {

0 commit comments

Comments
 (0)