Completed
Push — develop ( ef3b6a...f15f21 )
by Neomerx
05:13 queued 03:09
created
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/Adapters/ModelQueryBuilder.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     }
172 172
 
173 173
     /**
174
-     * @param iterable $attributes
174
+     * @param \Generator $attributes
175 175
      *
176 176
      * @return self
177 177
      *
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     }
194 194
 
195 195
     /**
196
-     * @param iterable $attributes
196
+     * @param \Generator $attributes
197 197
      *
198 198
      * @return self
199 199
      *
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
      * @param string   $modelClass
217 217
      * @param iterable $attributes
218 218
      *
219
-     * @return iterable
219
+     * @return \Generator
220 220
      *
221 221
      * @SuppressWarnings(PHPMD.StaticAccess)
222 222
      *
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
     }
316 316
 
317 317
     /**
318
-     * @param iterable $filters
318
+     * @param \Limoncello\Flute\Api\iterable|null $filters
319 319
      *
320 320
      * @return self
321 321
      *
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
     }
332 332
 
333 333
     /**
334
-     * @param iterable $filters
334
+     * @param \Limoncello\Flute\Api\iterable|null $filters
335 335
      *
336 336
      * @return self
337 337
      *
@@ -347,7 +347,7 @@  discard block
 block discarded – undo
347 347
     }
348 348
 
349 349
     /**
350
-     * @param iterable $filters
350
+     * @param \Limoncello\Flute\Api\iterable|null $filters
351 351
      *
352 352
      * @return self
353 353
      *
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
 
392 392
     /**
393 393
      * @param string        $relationshipName
394
-     * @param iterable      $relationshipFilters
394
+     * @param \Limoncello\Flute\Api\iterable|null      $relationshipFilters
395 395
      * @param iterable|null $relationshipSorts
396 396
      *
397 397
      * @return self
@@ -417,7 +417,7 @@  discard block
 block discarded – undo
417 417
     }
418 418
 
419 419
     /**
420
-     * @param iterable $sortParameters
420
+     * @param \Limoncello\Flute\Api\iterable|null $sortParameters
421 421
      *
422 422
      * @return self
423 423
      */
Please login to merge, or discard this patch.
src/Api/Crud.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -756,9 +756,9 @@  discard block
 block discarded – undo
756 756
     }
757 757
 
758 758
     /**
759
-     * @param iterable $paths (string[])
759
+     * @param iterable|null $paths (string[])
760 760
      *
761
-     * @return iterable
761
+     * @return Generator
762 762
      */
763 763
     private static function getPaths(iterable $paths): iterable
764 764
     {
@@ -1399,7 +1399,7 @@  discard block
 block discarded – undo
1399 1399
      * @param string       $modelClass
1400 1400
      * @param string       $keyColumnName
1401 1401
      *
1402
-     * @return iterable
1402
+     * @return Generator
1403 1403
      *
1404 1404
      * @throws DBALException
1405 1405
      *
@@ -1503,7 +1503,7 @@  discard block
 block discarded – undo
1503 1503
      * @param null|string $index
1504 1504
      * @param iterable    $attributes
1505 1505
      *
1506
-     * @return iterable
1506
+     * @return Generator
1507 1507
      */
1508 1508
     protected function filterAttributesOnCreate(?string $index, iterable $attributes): iterable
1509 1509
     {
@@ -1523,7 +1523,7 @@  discard block
 block discarded – undo
1523 1523
     /**
1524 1524
      * @param iterable $attributes
1525 1525
      *
1526
-     * @return iterable
1526
+     * @return Generator
1527 1527
      */
1528 1528
     protected function filterAttributesOnUpdate(iterable $attributes): iterable
1529 1529
     {
@@ -1722,10 +1722,10 @@  discard block
 block discarded – undo
1722 1722
 
1723 1723
     /**
1724 1724
      * @param iterable         $attributes
1725
-     * @param array            $typeNames
1725
+     * @param Type[]            $typeNames
1726 1726
      * @param AbstractPlatform $platform
1727 1727
      *
1728
-     * @return iterable
1728
+     * @return Generator
1729 1729
      *
1730 1730
      * @throws DBALException
1731 1731
      */
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
@@ -409,7 +409,7 @@
 block discarded – undo
409 409
      * @param string   $parameterName
410 410
      * @param iterable $value
411 411
      *
412
-     * @return iterable
412
+     * @return Generator
413 413
      *
414 414
      * @SuppressWarnings(PHPMD.CyclomaticComplexity)
415 415
      */
Please login to merge, or discard this patch.
src/Validation/JsonApi/QueryParser.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -379,7 +379,7 @@  discard block
 block discarded – undo
379 379
     }
380 380
 
381 381
     /**
382
-     * @return iterable
382
+     * @return Generator
383 383
      *
384 384
      * @SuppressWarnings(PHPMD.ElseExpression)
385 385
      */
@@ -421,9 +421,9 @@  discard block
 block discarded – undo
421 421
     }
422 422
 
423 423
     /**
424
-     * @param iterable $fieldsFromParent
424
+     * @param Generator $fieldsFromParent
425 425
      *
426
-     * @return iterable
426
+     * @return Generator
427 427
      *
428 428
      * @SuppressWarnings(PHPMD.StaticAccess)
429 429
      * @SuppressWarnings(PHPMD.ElseExpression)
@@ -456,9 +456,9 @@  discard block
 block discarded – undo
456 456
     }
457 457
 
458 458
     /**
459
-     * @param iterable $sortsFromParent
459
+     * @param Generator $sortsFromParent
460 460
      *
461
-     * @return iterable
461
+     * @return Generator
462 462
      *
463 463
      * @SuppressWarnings(PHPMD.StaticAccess)
464 464
      * @SuppressWarnings(PHPMD.ElseExpression)
@@ -488,9 +488,9 @@  discard block
 block discarded – undo
488 488
     }
489 489
 
490 490
     /**
491
-     * @param iterable $includesFromParent
491
+     * @param Generator $includesFromParent
492 492
      *
493
-     * @return iterable
493
+     * @return Generator
494 494
      *
495 495
      * @SuppressWarnings(PHPMD.StaticAccess)
496 496
      * @SuppressWarnings(PHPMD.ElseExpression)
@@ -520,7 +520,7 @@  discard block
 block discarded – undo
520 520
     }
521 521
 
522 522
     /**
523
-     * @param iterable $iterable
523
+     * @param Generator $iterable
524 524
      *
525 525
      * @return array
526 526
      */
@@ -683,7 +683,7 @@  discard block
 block discarded – undo
683 683
      * @param int      $ruleIndex
684 684
      * @param iterable $values
685 685
      *
686
-     * @return iterable
686
+     * @return Generator
687 687
      */
688 688
     private function validateValues(int $ruleIndex, iterable $values): iterable
689 689
     {
@@ -698,9 +698,9 @@  discard block
 block discarded – undo
698 698
 
699 699
     /**
700 700
      * @param int      $ruleIndex
701
-     * @param iterable $opsAndArgs
701
+     * @param Generator $opsAndArgs
702 702
      *
703
-     * @return iterable
703
+     * @return Generator
704 704
      */
705 705
     private function validateFilterArguments(int $ruleIndex, iterable $opsAndArgs): iterable
706 706
     {
@@ -858,7 +858,7 @@  discard block
 block discarded – undo
858 858
      * @param string $parameterName
859 859
      * @param array  $value
860 860
      *
861
-     * @return iterable
861
+     * @return Generator
862 862
      *
863 863
      * @SuppressWarnings(PHPMD.ElseExpression)
864 864
      */
Please login to merge, or discard this patch.
src/Contracts/Api/CrudInterface.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     public function fetchResources(QueryBuilder $builder, string $modelClass): PaginatedDataInterface;
121 121
 
122 122
     /**
123
-     * @param QueryBuilder|null $builder
123
+     * @param QueryBuilder $builder
124 124
      * @param string|null       $modelClass
125 125
      *
126 126
      * @return mixed|null
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      * @param string       $modelClass
141 141
      * @param string       $columnName
142 142
      *
143
-     * @return iterable
143
+     * @return \Generator
144 144
      */
145 145
     public function fetchColumn(QueryBuilder $builder, string $modelClass, string $columnName): iterable;
146 146
 
Please login to merge, or discard this patch.
src/Contracts/Validation/JsonApiDataRulesSerializerInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
     public static function readRulesEndIndexes(array $arrayRuleIndexes): array;
162 162
 
163 163
     /**
164
-     * @param array  $arrayRuleIndexes
164
+     * @param integer[]  $arrayRuleIndexes
165 165
      * @param string $name
166 166
      *
167 167
      * @return array
Please login to merge, or discard this patch.
src/Http/Traits/DefaultControllerMethodsTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@
 block discarded – undo
279 279
      * @param string                     $messagesNamespace
280 280
      * @param string                     $errorMessage
281 281
      *
282
-     * @return ResponseInterface
282
+     * @return string
283 283
      */
284 284
     protected static function defaultCreate(
285 285
         string $requestBody,
Please login to merge, or discard this patch.