Passed
Push — master ( 21841e...46a804 )
by Muhammed
39s
created
src/Zicht/Itertools/itertools.php 1 patch
Doc Comments   +8 added lines, -8 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)
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
  * the same key function
442 442
  *
443 443
  * @param null|string|\Closure $strategy
444
- * @param array|string|\Iterator $iterable
444
+ * @param lib\Traits\GroupByTrait $iterable
445 445
  * @param boolean $sort
446 446
  * @return GroupbyIterator
447 447
  *
@@ -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.