Completed
Push — develop ( a2b4be...d107a0 )
by Neomerx
03:39 queued 01:56
created
src/Types/DateTimeDefaultStringType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-     * @param string|DateTime $value
67
+     * @param string $value
68 68
      * @param string          $fromFormat
69 69
      * @param string          $toFormat
70 70
      *
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.
src/Adapters/ModelQueryBuilder.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     }
129 129
 
130 130
     /**
131
-     * @param iterable $attributes
131
+     * @param Generator $attributes
132 132
      *
133 133
      * @return self
134 134
      *
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
     }
149 149
 
150 150
     /**
151
-     * @param iterable $attributes
151
+     * @param Generator $attributes
152 152
      *
153 153
      * @return self
154 154
      *
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
      * @param string   $modelClass
170 170
      * @param iterable $attributes
171 171
      *
172
-     * @return iterable
172
+     * @return Generator
173 173
      *
174 174
      * @SuppressWarnings(PHPMD.StaticAccess)
175 175
      */
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
     }
250 250
 
251 251
     /**
252
-     * @param iterable $filters
252
+     * @param \Limoncello\Flute\Api\iterable|null $filters
253 253
      *
254 254
      * @return self
255 255
      */
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
     }
260 260
 
261 261
     /**
262
-     * @param iterable $filters
262
+     * @param \Limoncello\Flute\Api\iterable|null $filters
263 263
      *
264 264
      * @return self
265 265
      */
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
     }
270 270
 
271 271
     /**
272
-     * @param iterable $filters
272
+     * @param \Limoncello\Flute\Api\iterable|null $filters
273 273
      *
274 274
      * @return self
275 275
      */
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
 
315 315
     /**
316 316
      * @param string        $relationshipName
317
-     * @param iterable      $relationshipFilters
317
+     * @param \Limoncello\Flute\Api\iterable|null      $relationshipFilters
318 318
      * @param iterable|null $relationshipSorts
319 319
      *
320 320
      * @return self
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
     }
336 336
 
337 337
     /**
338
-     * @param iterable $sortParameters
338
+     * @param \Limoncello\Flute\Api\iterable|null $sortParameters
339 339
      *
340 340
      * @return self
341 341
      */
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
@@ -616,9 +616,9 @@  discard block
 block discarded – undo
616 616
     }
617 617
 
618 618
     /**
619
-     * @param iterable $paths (string[])
619
+     * @param iterable|null $paths (string[])
620 620
      *
621
-     * @return iterable
621
+     * @return Generator
622 622
      */
623 623
     private static function getPaths(iterable $paths): iterable
624 624
     {
@@ -1230,7 +1230,7 @@  discard block
 block discarded – undo
1230 1230
      * @param null|string $index
1231 1231
      * @param iterable    $attributes
1232 1232
      *
1233
-     * @return iterable
1233
+     * @return Generator
1234 1234
      */
1235 1235
     protected function filterAttributesOnCreate(?string $index, iterable $attributes): iterable
1236 1236
     {
@@ -1250,7 +1250,7 @@  discard block
 block discarded – undo
1250 1250
     /**
1251 1251
      * @param iterable $attributes
1252 1252
      *
1253
-     * @return iterable
1253
+     * @return Generator
1254 1254
      */
1255 1255
     protected function filterAttributesOnUpdate(iterable $attributes): iterable
1256 1256
     {
@@ -1422,10 +1422,10 @@  discard block
 block discarded – undo
1422 1422
 
1423 1423
     /**
1424 1424
      * @param iterable         $attributes
1425
-     * @param array            $typeNames
1425
+     * @param Type[]            $typeNames
1426 1426
      * @param AbstractPlatform $platform
1427 1427
      *
1428
-     * @return iterable
1428
+     * @return Generator
1429 1429
      */
1430 1430
     private function readTypedAttributes(iterable $attributes, array $typeNames, AbstractPlatform $platform): iterable
1431 1431
     {
Please login to merge, or discard this patch.
src/Contracts/Api/CrudInterface.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     public function fetchResources(QueryBuilder $builder, string $modelClass): PaginatedDataInterface;
109 109
 
110 110
     /**
111
-     * @param QueryBuilder|null $builder
111
+     * @param QueryBuilder $builder
112 112
      * @param string|null       $modelClass
113 113
      *
114 114
      * @return mixed|null
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      * @param string       $modelClass
129 129
      * @param string       $columnName
130 130
      *
131
-     * @return iterable
131
+     * @return \Generator
132 132
      */
133 133
     public function fetchColumn(QueryBuilder $builder, string $modelClass, string $columnName): iterable;
134 134
 
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
     ): array;
212 212
 
213 213
     /**
214
-     * @param int|string    $index
214
+     * @param string    $index
215 215
      * @param string        $name
216 216
      * @param iterable|null $relationshipFilters
217 217
      * @param iterable|null $relationshipSorts
Please login to merge, or discard this patch.