Passed
Pull Request — master (#27)
by
unknown
02:33
created
src/Zicht/Itertools/lib/Traits/ChainTrait.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,6 @@
 block discarded – undo
26 26
      * > iter\iterable('ABC', 'DEF')->chain()
27 27
      * A B C D E F
28 28
      *
29
-     * @param array|string|\Iterator $iterable
30
-     * @param array|string|\Iterator $iterable2
31 29
      * @return iter\lib\ChainIterator
32 30
      */
33 31
     public function chain(/* $iterable, $iterable2, ... */)
Please login to merge, or discard this patch.
src/Zicht/Itertools/lib/Traits/MapTrait.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@
 block discarded – undo
34 34
      * 2.5 3.5 4.5
35 35
      *
36 36
      * @param null|string|\Closure $strategy
37
-     * @param array|string|\Iterator $iterable2
38 37
      * @return iter\lib\MapIterator
39 38
      */
40 39
     public function map($strategy /*, $iterable2, ... */)
Please login to merge, or discard this patch.
src/Zicht/Itertools/lib/Traits/ReduceTrait.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
      * > iter\iterable([])->reduce('min', 1)
26 26
      * 1
27 27
      *
28
-     * @param array|string|\Iterator $iterable
29 28
      * @param string|\Closure $closure
30 29
      * @param mixed $initializer
31 30
      * @return mixed
Please login to merge, or discard this patch.
src/Zicht/Itertools/lib/Traits/ZipTrait.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
      * > zip([1, 2, 3], ['a', 'b', 'c'])
23 23
      * [1, 'a'] [2, 'b'] [3, 'c']
24 24
      *
25
-     * @param array|string|\Iterator $iterable2
26 25
      * @return iter\lib\ZipIterator
27 26
      */
28 27
     public function zip(/* $iterable2, ... */)
Please login to merge, or discard this patch.
src/Zicht/Itertools/reductions.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -176,6 +176,7 @@
 block discarded – undo
176 176
 
177 177
 /**
178 178
  * @deprecated please use the reduction functions directly, will be removed in version 3.0
179
+ * @param string $name
179 180
  */
180 181
 function getReduction($name)
181 182
 {
Please login to merge, or discard this patch.
src/Zicht/Itertools/itertools.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -193,8 +193,8 @@  discard block
 block discarded – undo
193 193
  * > count(2.5, 0.5)
194 194
  * 2.5 3.0 3.5 4.0 ...
195 195
  *
196
- * @param int|float $start
197
- * @param int|float $step
196
+ * @param integer $start
197
+ * @param integer $step
198 198
  * @return CountIterator
199 199
  */
200 200
 function count($start = 0, $step = 1)
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
  * > cycle('ABCD')
219 219
  * A B C D A B C D A B C D ...
220 220
  *
221
- * @param array|string|\Iterator $iterable
221
+ * @param lib\Traits\CycleTrait $iterable
222 222
  * @return CycleIterator
223 223
  */
224 224
 function cycle($iterable)
@@ -619,7 +619,7 @@  discard block
 block discarded – undo
619 619
 /**
620 620
  * Returns an iterable with all the elements from $iterable reversed
621 621
  *
622
- * @param array|string|\Iterator $iterable
622
+ * @param lib\Traits\ReversedTrait $iterable
623 623
  * @return ReversedIterator
624 624
  */
625 625
 function reversed($iterable)
@@ -802,7 +802,7 @@  discard block
 block discarded – undo
802 802
  * > slice(['a', 'b', 'c', 'd', 'e', 1, -1]
803 803
  * 'b', 'c', 'd'
804 804
  *
805
- * @param array|string|\Iterator $iterable
805
+ * @param lib\Traits\SliceTrait $iterable
806 806
  * @param integer $start
807 807
  * @param null|integer $end
808 808
  * @return SliceIterator
@@ -827,7 +827,7 @@  discard block
 block discarded – undo
827 827
  * > first([])
828 828
  * null
829 829
  *
830
- * @param array|string|\Iterator $iterable
830
+ * @param lib\Traits\FirstTrait $iterable
831 831
  * @param mixed $default
832 832
  * @return mixed
833 833
  */
@@ -849,7 +849,7 @@  discard block
 block discarded – undo
849 849
  * > last([])
850 850
  * null
851 851
  *
852
- * @param array|string|\Iterator $iterable
852
+ * @param lib\Traits\LastTrait $iterable
853 853
  * @param mixed $default
854 854
  * @return mixed
855 855
  */
Please login to merge, or discard this patch.