diff --git a/tests/static-analysis/countIn.php b/tests/static-analysis/countIn.php index 3ac323bb..d1a20d8e 100644 --- a/tests/static-analysis/countIn.php +++ b/tests/static-analysis/countIn.php @@ -7,9 +7,7 @@ use loophp\collection\Collection; use loophp\collection\Contract\Collection as CollectionInterface; -function count_check(int $count): void -{ -} +function count_check(int $count): void {} $counter = 0; @@ -22,8 +20,6 @@ function count_check(int $count): void * * @phpstan-param CollectionInterface $collection */ -function checkListInt(CollectionInterface $collection): void -{ -} +function checkListInt(CollectionInterface $collection): void {} checkListInt(Collection::fromIterable([1, 2, 3])->countIn($counter));