Passed
Pull Request — master (#64)
by
unknown
02:42
created
src/Zicht/Itertools/lib/Interfaces/ChainInterface.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
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 null|ChainIterator
32 30
      */
33 31
     public function chain(/* $iterable, $iterable2, ... */)
Please login to merge, or discard this patch.
src/Zicht/Itertools/lib/Interfaces/MapInterface.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,9 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * Make an iterator that applies $strategy to every entry in this iterable
19 19
      *
20
-     * @param null|string|\Closure $strategy
21
-     * @param array|string|\Iterator $iterable
22
-     * @param array|string|\Iterator $iterable2
20
+     * @param \Closure $strategy
23 21
      * @return Itertools\lib\MapIterator
24 22
      *
25 23
      * @see Itertools\lib\Traits\MapTrait::map
Please login to merge, or discard this patch.
src/Zicht/Itertools/lib/Interfaces/ZipInterface.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,6 @@
 block discarded – undo
17 17
     /**
18 18
      * Returns an iterator where one or more iterables are zipped together
19 19
      *
20
-     * @param array|string|\Iterator $iterable
21
-     * @param array|string|\Iterator $iterable2
22 20
      * @return Itertools\lib\ZipIterator
23 21
      *
24 22
      * @see Itertools\lib\Traits\ZipTrait::zip
Please login to merge, or discard this patch.
src/Zicht/Itertools/lib/Traits/MapTrait.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,6 @@
 block discarded – undo
36 36
      * 2.5 3.5 4.5
37 37
      *
38 38
      * @param null|string|\Closure $strategy
39
-     * @param array|string|\Iterator $iterable
40
-     * @param array|string|\Iterator $iterable2
41 39
      * @return MapIterator
42 40
      */
43 41
     public function map($strategy /*, $iterable, $iterable2, ... */)
Please login to merge, or discard this patch.
src/Zicht/Itertools/lib/Traits/ZipTrait.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,6 @@
 block discarded – undo
23 23
      * > zip([1, 2, 3], ['a', 'b', 'c'])
24 24
      * [1, 'a'] [2, 'b'] [3, 'c']
25 25
      *
26
-     * @param array|string|\Iterator $iterable
27
-     * @param array|string|\Iterator $iterable2
28 26
      * @return ZipIterator
29 27
      */
30 28
     public function zip(/* $iterable, $iterable2, ... */)
Please login to merge, or discard this patch.
src/Zicht/Itertools/itertools.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -221,8 +221,8 @@
 block discarded – undo
221 221
  * > count(2.5, 0.5)
222 222
  * 2.5 3.0 3.5 4.0 ...
223 223
  *
224
- * @param int|float $start
225
- * @param int|float $step
224
+ * @param integer $start
225
+ * @param integer $step
226 226
  * @return CountIterator
227 227
  * @deprecated Use new CountIterator($start, $step), will be removed in version 3.0
228 228
  */
Please login to merge, or discard this patch.
src/Zicht/Itertools/util/Mappings.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,6 @@
 block discarded – undo
129 129
     /**
130 130
      * Returns a closure that returns the json_encoded value as decoded value
131 131
      *
132
-     * @param boolean $assoc
133 132
      * @param int $options
134 133
      * @param int $depth
135 134
      * @return \Closure
Please login to merge, or discard this patch.