Completed
Push — develop ( 5571b3...27d944 )
by Neomerx
08:26 queued 06:22
created
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/Http/Query/QueryParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -439,7 +439,7 @@
 block discarded – undo
439 439
      * @param string $parameterName
440 440
      * @param array  $value
441 441
      *
442
-     * @return iterable
442
+     * @return Generator
443 443
      *
444 444
      * @SuppressWarnings(PHPMD.ElseExpression)
445 445
      */
Please login to merge, or discard this patch.
src/Encoder/Encoder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 
126 126
         parse_str($this->getOriginalUri()->getQuery(), $queryParams);
127 127
 
128
-        return function ($offset) use ($pageSize, $queryParams) {
128
+        return function($offset) use ($pageSize, $queryParams) {
129 129
             $paramsWithPaging = array_merge($queryParams, [
130 130
                 BaseQueryParserInterface::PARAM_PAGE => [
131 131
                     PaginationStrategyInterface::PARAM_PAGING_OFFSET => $offset,
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
                 ],
134 134
             ]);
135 135
             $newUri           = $this->getOriginalUri()->withQuery(http_build_query($paramsWithPaging));
136
-            $fullUrl          = (string)$newUri;
136
+            $fullUrl          = (string) $newUri;
137 137
             $link             = $this->getFactory()->createLink($fullUrl, null, true);
138 138
 
139 139
             return $link;
Please login to merge, or discard this patch.