diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 10f6681b..29a7dde4 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -14,7 +14,9 @@ src tests - + + + tests/* diff --git a/src/AbstractLazyCollection.php b/src/AbstractLazyCollection.php index e7a2d686..c926b6d8 100644 --- a/src/AbstractLazyCollection.php +++ b/src/AbstractLazyCollection.php @@ -177,6 +177,9 @@ public function findFirst(Closure $p): mixed return $this->collection->findFirst($p); } + /** + * {@inheritDoc} + */ public function filter(Closure $p): Collection { $this->initialize(); @@ -191,6 +194,9 @@ public function forAll(Closure $p): bool return $this->collection->forAll($p); } + /** + * {@inheritDoc} + */ public function map(Closure $func): Collection { $this->initialize();