Completed
Push — master ( fb30fb...b9dc46 )
by Neomerx
13:06
created
src/Http/Query/QueryValidator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
      * @param string   $name
271 271
      * @param iterable $operationsAndArgs
272 272
      *
273
-     * @return iterable
273
+     * @return \Generator
274 274
      */
275 275
     private function getValidatedOperationsAndArguments(
276 276
         int $blockIndex,
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
      * @param string   $name
288 288
      * @param iterable $arguments
289 289
      *
290
-     * @return iterable
290
+     * @return \Generator
291 291
      */
292 292
     private function getValidatedArguments(int $blockIndex, string $name, iterable $arguments): iterable
293 293
     {
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
@@ -741,9 +741,9 @@  discard block
 block discarded – undo
741 741
     }
742 742
 
743 743
     /**
744
-     * @param iterable $paths (string[])
744
+     * @param iterable|null $paths (string[])
745 745
      *
746
-     * @return iterable
746
+     * @return Generator
747 747
      */
748 748
     private static function getPaths(iterable $paths): iterable
749 749
     {
@@ -1331,7 +1331,7 @@  discard block
 block discarded – undo
1331 1331
      * @param string       $modelClass
1332 1332
      * @param string       $keyColumnName
1333 1333
      *
1334
-     * @return iterable
1334
+     * @return Generator
1335 1335
      */
1336 1336
     private function fetchResourcesWithoutRelationships(
1337 1337
         QueryBuilder $builder,
@@ -1425,7 +1425,7 @@  discard block
 block discarded – undo
1425 1425
      * @param null|string $index
1426 1426
      * @param iterable    $attributes
1427 1427
      *
1428
-     * @return iterable
1428
+     * @return Generator
1429 1429
      */
1430 1430
     protected function filterAttributesOnCreate(?string $index, iterable $attributes): iterable
1431 1431
     {
@@ -1445,7 +1445,7 @@  discard block
 block discarded – undo
1445 1445
     /**
1446 1446
      * @param iterable $attributes
1447 1447
      *
1448
-     * @return iterable
1448
+     * @return Generator
1449 1449
      */
1450 1450
     protected function filterAttributesOnUpdate(iterable $attributes): iterable
1451 1451
     {
@@ -1634,10 +1634,10 @@  discard block
 block discarded – undo
1634 1634
 
1635 1635
     /**
1636 1636
      * @param iterable         $attributes
1637
-     * @param array            $typeNames
1637
+     * @param Type[]            $typeNames
1638 1638
      * @param AbstractPlatform $platform
1639 1639
      *
1640
-     * @return iterable
1640
+     * @return Generator
1641 1641
      */
1642 1642
     private function readTypedAttributes(iterable $attributes, array $typeNames, AbstractPlatform $platform): iterable
1643 1643
     {
Please login to merge, or discard this patch.