Completed
Push — master ( 23c92d...0cfe1b )
by Alexander
01:42
created
YaLinqo/EnumerableGeneration.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      * @param array|\Iterator|\IteratorAggregate|Enumerable $source Source sequence.
14 14
      * @throws \InvalidArgumentException If source is not array or Traversible or Enumerable.
15 15
      * @throws \UnexpectedValueException If source contains no elements (checked during enumeration).
16
-     * @return Enumerable Endless list of items repeating the source sequence.
16
+     * @return EnumerableGeneration Endless list of items repeating the source sequence.
17 17
      * @package YaLinqo\Generation
18 18
      */
19 19
     public static function cycle ($source)
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * Returns an empty sequence.
38 38
      * <p><b>Syntax</b>: emptyEnum ()
39
-     * @return Enumerable
39
+     * @return EnumerableGeneration
40 40
      * @package YaLinqo\Generation
41 41
      */
42 42
     public static function emptyEnum ()
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      * @param mixed $seedValue Initial state of the generator loop for values. Default: null.
85 85
      * @param callable|null $funcKey {(v, k) ==> key} State update function to run on key after every iteration of the generator loop. Default: increment.
86 86
      * @param mixed $seedKey Initial state of the generator loop ofr keys. Default: 0.
87
-     * @return Enumerable
87
+     * @return EnumerableGeneration
88 88
      * @package YaLinqo\Generation
89 89
      */
90 90
     public static function generate ($funcValue, $seedValue = null, $funcKey = null, $seedKey = null)
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      * <p><b>Syntax</b>: toInfinity ([start [, step]])
112 112
      * @param int $start The first integer in the sequence. Default: 0.
113 113
      * @param int $step The difference between adjacent integers. Default: 1.
114
-     * @return Enumerable
114
+     * @return EnumerableGeneration
115 115
      * @package YaLinqo\Generation
116 116
      */
117 117
     public static function toInfinity ($start = 0, $step = 1)
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      * @param string $subject The input string.
130 130
      * @param string $pattern The pattern to search for, as a string.
131 131
      * @param int $flags Can be a combination of the following flags: PREG_PATTERN_ORDER, PREG_SET_ORDER, PREG_OFFSET_CAPTURE. Default: PREG_SET_ORDER.
132
-     * @return Enumerable
132
+     * @return EnumerableGeneration
133 133
      * @see preg_match_all
134 134
      * @package YaLinqo\Generation
135 135
      */
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
      * <p><b>Syntax</b>: toNegativeInfinity ([start [, step]])
147 147
      * @param int $start The first integer in the sequence. Default: 0.
148 148
      * @param int $step The difference between adjacent integers. Default: 1.
149
-     * @return Enumerable
149
+     * @return EnumerableGeneration
150 150
      * @package YaLinqo\Generation
151 151
      */
152 152
     public static function toNegativeInfinity ($start = 0, $step = 1)
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
      * Returns a sequence that contains a single element with a specified value.
159 159
      * <p><b>Syntax</b>: returnEnum (element)
160 160
      * @param mixed $element The single element in the resulting sequence.
161
-     * @return Enumerable Observable sequence containing the single specified element.
161
+     * @return EnumerableGeneration Observable sequence containing the single specified element.
162 162
      * @package YaLinqo\Generation
163 163
      */
164 164
     public static function returnEnum ($element)
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
      * @param int $start The value of the first integer in the sequence.
175 175
      * @param int $count The number of integers to generate.
176 176
      * @param int $step The difference between adjacent integers. Default: 1.
177
-     * @return Enumerable A sequence that contains a range of integral numbers.
177
+     * @return EnumerableGeneration A sequence that contains a range of integral numbers.
178 178
      * @package YaLinqo\Generation
179 179
      */
180 180
     public static function range ($start, $count, $step = 1)
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
      * @param int $start The value of the first integer in the sequence.
197 197
      * @param int $count The number of integers to generate.
198 198
      * @param int $step The difference between adjacent integers. Default: 1.
199
-     * @return Enumerable A sequence that contains a range of integral numbers.
199
+     * @return EnumerableGeneration A sequence that contains a range of integral numbers.
200 200
      * @package YaLinqo\Generation
201 201
      */
202 202
     public static function rangeDown ($start, $count, $step = 1)
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
      * @param int $end The value of the last integer in the sequence (not included).
214 214
      * @param int $step The difference between adjacent integers. Default: 1.
215 215
      * @throws \InvalidArgumentException If step is not a positive number.
216
-     * @return Enumerable A sequence that contains a range of integral numbers.
216
+     * @return EnumerableGeneration A sequence that contains a range of integral numbers.
217 217
      * @package YaLinqo\Generation
218 218
      */
219 219
     public static function rangeTo ($start, $end, $step = 1)
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
      * @param int $element The value to be repeated.
243 243
      * @param int $count The number of times to repeat the value in the generated sequence. Default: null.
244 244
      * @throws \InvalidArgumentException If count is less than 0.
245
-     * @return Enumerable A sequence that contains a repeated value.
245
+     * @return EnumerableGeneration A sequence that contains a repeated value.
246 246
      * @package YaLinqo\Generation
247 247
      */
248 248
     public static function repeat ($element, $count = null)
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
      * @param string $subject The input string.
262 262
      * @param string $pattern The pattern to search for, as a string.
263 263
      * @param int $flags flags can be any combination of the following flags: PREG_SPLIT_NO_EMPTY, PREG_SPLIT_DELIM_CAPTURE, PREG_SPLIT_OFFSET_CAPTURE. Default: 0.
264
-     * @return Enumerable
264
+     * @return EnumerableGeneration
265 265
      * @see preg_split
266 266
      * @package YaLinqo\Generation
267 267
      */
Please login to merge, or discard this patch.