Completed
Push — develop ( ec64f2...9148fa )
by Neomerx
02:26
created
src/Adapters/ModelQueryBuilder.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     }
124 124
 
125 125
     /**
126
-     * @param iterable $attributes
126
+     * @param Generator $attributes
127 127
      *
128 128
      * @return self
129 129
      *
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     }
153 153
 
154 154
     /**
155
-     * @param iterable $attributes
155
+     * @param Generator $attributes
156 156
      *
157 157
      * @return self
158 158
      *
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
     }
235 235
 
236 236
     /**
237
-     * @param iterable $filters
237
+     * @param \Limoncello\Flute\Api\iterable|null $filters
238 238
      *
239 239
      * @return self
240 240
      */
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
     }
245 245
 
246 246
     /**
247
-     * @param iterable $filters
247
+     * @param \Limoncello\Flute\Api\iterable|null $filters
248 248
      *
249 249
      * @return self
250 250
      */
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
     }
255 255
 
256 256
     /**
257
-     * @param iterable $filters
257
+     * @param \Limoncello\Flute\Api\iterable|null $filters
258 258
      *
259 259
      * @return self
260 260
      */
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
 
300 300
     /**
301 301
      * @param string        $relationshipName
302
-     * @param iterable      $relationshipFilters
302
+     * @param \Limoncello\Flute\Api\iterable|null      $relationshipFilters
303 303
      * @param iterable|null $relationshipSorts
304 304
      *
305 305
      * @return self
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
     }
321 321
 
322 322
     /**
323
-     * @param iterable $sortParameters
323
+     * @param \Limoncello\Flute\Api\iterable|null $sortParameters
324 324
      *
325 325
      * @return self
326 326
      */
Please login to merge, or discard this patch.
src/Api/Crud.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -615,9 +615,9 @@  discard block
 block discarded – undo
615 615
     }
616 616
 
617 617
     /**
618
-     * @param iterable $paths (string[])
618
+     * @param iterable|null $paths (string[])
619 619
      *
620
-     * @return iterable
620
+     * @return \Generator
621 621
      */
622 622
     private static function getPaths(iterable $paths): iterable
623 623
     {
@@ -1149,7 +1149,7 @@  discard block
 block discarded – undo
1149 1149
      * @param null|string $index
1150 1150
      * @param iterable    $attributes
1151 1151
      *
1152
-     * @return iterable
1152
+     * @return \Generator
1153 1153
      */
1154 1154
     protected function filterAttributesOnCreate(?string $index, iterable $attributes): iterable
1155 1155
     {
@@ -1169,7 +1169,7 @@  discard block
 block discarded – undo
1169 1169
     /**
1170 1170
      * @param iterable $attributes
1171 1171
      *
1172
-     * @return iterable
1172
+     * @return \Generator
1173 1173
      */
1174 1174
     protected function filterAttributesOnUpdate(iterable $attributes): iterable
1175 1175
     {
@@ -1341,10 +1341,10 @@  discard block
 block discarded – undo
1341 1341
 
1342 1342
     /**
1343 1343
      * @param iterable         $attributes
1344
-     * @param array            $typeNames
1344
+     * @param Type[]            $typeNames
1345 1345
      * @param AbstractPlatform $platform
1346 1346
      *
1347
-     * @return iterable
1347
+     * @return \Generator
1348 1348
      */
1349 1349
     private function readTypedAttributes(iterable $attributes, array $typeNames, AbstractPlatform $platform): iterable
1350 1350
     {
Please login to merge, or discard this patch.
src/Contracts/Http/Query/ParametersMapperInterface.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,17 +52,17 @@
 block discarded – undo
52 52
     public function withIncludes(iterable $includes): self;
53 53
 
54 54
     /**
55
-     * @return iterable
55
+     * @return \Generator
56 56
      */
57 57
     public function getMappedFilters(): iterable;
58 58
 
59 59
     /**
60
-     * @return iterable
60
+     * @return \Generator
61 61
      */
62 62
     public function getMappedSorts(): iterable;
63 63
 
64 64
     /**
65
-     * @return iterable
65
+     * @return \Generator
66 66
      */
67 67
     public function getMappedIncludes(): iterable;
68 68
 
Please login to merge, or discard this patch.
src/Contracts/Http/Query/QueryParserInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     public function areFiltersWithAnd(): bool;
43 43
 
44 44
     /**
45
-     * @return iterable
45
+     * @return \Generator
46 46
      */
47 47
     public function getFilters(): iterable;
48 48
 
Please login to merge, or discard this patch.
src/Http/Query/BaseQueryParser.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      * @param string|mixed $shouldBeString
133 133
      * @param string       $separator
134 134
      *
135
-     * @return iterable
135
+     * @return \Generator
136 136
      */
137 137
     protected function splitString(string $paramName, $shouldBeString, string $separator): iterable
138 138
     {
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      * @param string|mixed $shouldBeString
151 151
      * @param string       $separator
152 152
      *
153
-     * @return iterable
153
+     * @return \Generator
154 154
      */
155 155
     protected function splitStringAndCheckNoEmpties(string $paramName, $shouldBeString, string $separator): iterable
156 156
     {
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
      * @param string       $paramName
169 169
      * @param string|mixed $shouldBeString
170 170
      *
171
-     * @return iterable
171
+     * @return \Generator
172 172
      */
173 173
     protected function splitCommaSeparatedStringAndCheckNoEmpties(string $paramName, $shouldBeString): iterable
174 174
     {
Please login to merge, or discard this patch.
src/Http/Query/ParametersMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -408,7 +408,7 @@
 block discarded – undo
408 408
      * @param string   $parameterName
409 409
      * @param iterable $value
410 410
      *
411
-     * @return iterable
411
+     * @return Generator
412 412
      */
413 413
     private function parseOperationsAndArguments(string $parameterName, iterable $value): iterable
414 414
     {
Please login to merge, or discard this patch.
src/Http/Query/QueryParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -264,7 +264,7 @@
 block discarded – undo
264 264
      * @param string $parameterName
265 265
      * @param array  $value
266 266
      *
267
-     * @return iterable
267
+     * @return Generator
268 268
      */
269 269
     private function parseOperationsAndArguments(string $parameterName, array $value): iterable
270 270
     {
Please login to merge, or discard this patch.