@@ -203,8 +203,8 @@ |
||
203 | 203 | * > count(2.5, 0.5) |
204 | 204 | * 2.5 3.0 3.5 4.0 ... |
205 | 205 | * |
206 | - * @param int|float $start |
|
207 | - * @param int|float $step |
|
206 | + * @param integer $start |
|
207 | + * @param integer $step |
|
208 | 208 | * @return CountIterator |
209 | 209 | */ |
210 | 210 | function count($start = 0, $step = 1) |
@@ -21,8 +21,6 @@ |
||
21 | 21 | * until it is exhausted, then proceeds to the next iterable, until |
22 | 22 | * all the iterables are exhausted. |
23 | 23 | * |
24 | - * @param array|string|\Iterator $iterable |
|
25 | - * @param array|string|\Iterator $iterable2 |
|
26 | 24 | * @return Itertools\lib\ChainIterator |
27 | 25 | * |
28 | 26 | * @see Itertools\lib\Traits\ChainTrait::chain |
@@ -19,8 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * Make an iterator that applies $strategy to every entry in this iterable |
21 | 21 | * |
22 | - * @param null|string|\Closure $strategy |
|
23 | - * @param array|string|\Iterator $iterable2 |
|
22 | + * @param \Closure $strategy |
|
24 | 23 | * @return Itertools\lib\MapIterator |
25 | 24 | * |
26 | 25 | * @see Itertools\lib\Traits\MapTrait::map |
@@ -19,7 +19,6 @@ |
||
19 | 19 | /** |
20 | 20 | * Reduce an iterator to a single value |
21 | 21 | * |
22 | - * @param array|string|\Iterator $iterable |
|
23 | 22 | * @param string|\Closure $closure |
24 | 23 | * @param mixed $initializer |
25 | 24 | * @return mixed |
@@ -19,7 +19,6 @@ |
||
19 | 19 | /** |
20 | 20 | * Returns an iterator where one or more iterables are zipped together |
21 | 21 | * |
22 | - * @param array|string|\Iterator $iterable2 |
|
23 | 22 | * @return Itertools\lib\ZipIterator |
24 | 23 | * |
25 | 24 | * @see Itertools\lib\Traits\ZipTrait::zip |
@@ -29,8 +29,6 @@ |
||
29 | 29 | * > iter\iterable('ABC', 'DEF')->chain() |
30 | 30 | * A B C D E F |
31 | 31 | * |
32 | - * @param array|string|\Iterator $iterable |
|
33 | - * @param array|string|\Iterator $iterable2 |
|
34 | 32 | * @return null|ChainIterator |
35 | 33 | * @throws \ReflectionException |
36 | 34 | */ |
@@ -38,7 +38,6 @@ |
||
38 | 38 | * 2.5 3.5 4.5 |
39 | 39 | * |
40 | 40 | * @param null|string|\Closure $strategy |
41 | - * @param array|string|\Iterator $iterable2 |
|
42 | 41 | * @return MapIterator |
43 | 42 | * @throws \ReflectionException |
44 | 43 | */ |
@@ -25,7 +25,6 @@ |
||
25 | 25 | * > zip([1, 2, 3], ['a', 'b', 'c']) |
26 | 26 | * [1, 'a'] [2, 'b'] [3, 'c'] |
27 | 27 | * |
28 | - * @param array|string|\Iterator $iterable2 |
|
29 | 28 | * @return ZipIterator |
30 | 29 | * @throws \ReflectionException |
31 | 30 | */ |