diff --git a/src/Contract/Operation/Chunkable.php b/src/Contract/Operation/Chunkable.php index 84fe7c104..94a9a1ae5 100644 --- a/src/Contract/Operation/Chunkable.php +++ b/src/Contract/Operation/Chunkable.php @@ -14,7 +14,7 @@ interface Chunkable /** * Chunk the collection into chunks of the given size. * - * @param array $size + * @param int ...$size * * @return \loophp\collection\Base|\loophp\collection\Contract\Collection */ diff --git a/src/Contract/Operation/Mergeable.php b/src/Contract/Operation/Mergeable.php index 623a6b17c..a9fb0b516 100644 --- a/src/Contract/Operation/Mergeable.php +++ b/src/Contract/Operation/Mergeable.php @@ -14,7 +14,7 @@ interface Mergeable /** * Merge one or more collection of items onto a collection. * - * @param iterable ...$sources + * @param iterable ...$sources * * @return \loophp\collection\Base|\loophp\collection\Contract\Collection */ diff --git a/src/Contract/Operation/Productable.php b/src/Contract/Operation/Productable.php index 02847f108..e84210bc8 100644 --- a/src/Contract/Operation/Productable.php +++ b/src/Contract/Operation/Productable.php @@ -14,7 +14,7 @@ interface Productable /** * Get the the cartesian product of items of a collection. * - * @param iterable ...$iterables + * @param iterable ...$iterables * * @return \loophp\collection\Base|\loophp\collection\Contract\Collection */ diff --git a/src/Contract/Operation/Zipable.php b/src/Contract/Operation/Zipable.php index 27e4e3900..a6ac67b67 100644 --- a/src/Contract/Operation/Zipable.php +++ b/src/Contract/Operation/Zipable.php @@ -14,7 +14,7 @@ interface Zipable /** * Zip a collection together with one or more iterables. * - * @param iterable ...$iterables + * @param iterable ...$iterables * * @return \loophp\collection\Base|\loophp\collection\Contract\Collection */ diff --git a/src/Operation/Chunk.php b/src/Operation/Chunk.php index 93624fd11..976585b85 100644 --- a/src/Operation/Chunk.php +++ b/src/Operation/Chunk.php @@ -25,7 +25,7 @@ final class Chunk implements Operation /** * Chunk constructor. * - * @param array $size + * @param int ...$size */ public function __construct(int ...$size) { diff --git a/src/Operation/Merge.php b/src/Operation/Merge.php index 8aa9b3b6d..706037eef 100644 --- a/src/Operation/Merge.php +++ b/src/Operation/Merge.php @@ -14,14 +14,14 @@ final class Merge implements Operation { /** - * @var iterable[] + * @var array> */ private $sources; /** * Merge constructor. * - * @param iterable ...$sources + * @param iterable ...$sources */ public function __construct(iterable ...$sources) { diff --git a/src/Operation/Product.php b/src/Operation/Product.php index 36209d3df..880b98834 100644 --- a/src/Operation/Product.php +++ b/src/Operation/Product.php @@ -17,14 +17,14 @@ final class Product implements Operation { /** - * @var iterable[] + * @var array> */ private $iterables; /** * Product constructor. * - * @param iterable ...$iterables + * @param iterable ...$iterables */ public function __construct(iterable ...$iterables) { diff --git a/src/Operation/Window.php b/src/Operation/Window.php index 7fd8a0cbf..b1c405b18 100644 --- a/src/Operation/Window.php +++ b/src/Operation/Window.php @@ -24,7 +24,7 @@ final class Window implements Operation /** * Window constructor. * - * @param array $length + * @param int ...$length */ public function __construct(int ...$length) { diff --git a/src/Operation/Zip.php b/src/Operation/Zip.php index 8363378fe..cd9298fde 100644 --- a/src/Operation/Zip.php +++ b/src/Operation/Zip.php @@ -23,7 +23,7 @@ final class Zip implements Operation /** * Zip constructor. * - * @param iterable ...$iterables + * @param iterable ...$iterables */ public function __construct(iterable ...$iterables) {