Completed
Branch develop (5a7a06)
by Neomerx
04:07
created
src/Exceptions/JsonApiException.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     private $httpCode;
55 55
 
56 56
     /**
57
-     * @param ErrorInterface|iterable $errors
57
+     * @param ErrorInterface $errors
58 58
      * @param int                     $httpCode
59 59
      * @param Exception|null          $previous
60 60
      *
Please login to merge, or discard this patch.
src/Representation/FieldSetFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
      * @param string   $type
118 118
      * @param iterable $fields
119 119
      *
120
-     * @return iterable
120
+     * @return \Generator
121 121
      */
122 122
     protected function filterFields(string $type, iterable $fields): iterable
123 123
     {
Please login to merge, or discard this patch.
src/Parser/RelationshipData/ParseRelationshipLinksTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
      * @param bool            $addSelfLink
85 85
      * @param bool            $addRelatedLink
86 86
      *
87
-     * @return iterable
87
+     * @return \Generator
88 88
      */
89 89
     private function parseLinks(
90 90
         SchemaInterface $parentSchema,
Please login to merge, or discard this patch.
src/Parser/Parser.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      * @see ResourceInterface
189 189
      * @see IdentifierInterface
190 190
      *
191
-     * @return iterable
191
+     * @return \Generator
192 192
      */
193 193
     private function parseAsResourcesOrIdentifiers(
194 194
         PositionInterface $position,
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      *
213 213
      * @see ResourceInterface
214 214
      *
215
-     * @return iterable
215
+     * @return \Generator
216 216
      *
217 217
      */
218 218
     private function parseAsResource(
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
     /**
234 234
      * @param ResourceInterface $resource
235 235
      *
236
-     * @return iterable
236
+     * @return \Generator
237 237
      *
238 238
      * @SuppressWarnings(PHPMD.CyclomaticComplexity)
239 239
      */
Please login to merge, or discard this patch.
src/Http/Query/BaseQueryParserTrait.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      * @param array  $parameters
33 33
      * @param string $errorTitle
34 34
      *
35
-     * @return iterable
35
+     * @return \Generator
36 36
      */
37 37
     protected function getIncludes(array $parameters, string $errorTitle): iterable
38 38
     {
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      * @param array  $parameters
50 50
      * @param string $errorTitle
51 51
      *
52
-     * @return iterable
52
+     * @return \Generator
53 53
      */
54 54
     protected function getFields(array $parameters, string $errorTitle): iterable
55 55
     {
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      * @param array  $parameters
70 70
      * @param string $errorTitle
71 71
      *
72
-     * @return iterable
72
+     * @return \Generator
73 73
      */
74 74
     protected function getSorts(array $parameters, string $errorTitle): iterable
75 75
     {
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      * @param array  $parameters
102 102
      * @param string $errorTitle
103 103
      *
104
-     * @return iterable
104
+     * @return \Generator
105 105
      */
106 106
     protected function getProfileUrls(array $parameters, string $errorTitle): iterable
107 107
     {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      * @param string|mixed $shouldBeString
122 122
      * @param string       $errorTitle
123 123
      *
124
-     * @return iterable
124
+     * @return \Generator
125 125
      */
126 126
     private function splitCommaSeparatedStringAndCheckNoEmpties(
127 127
         string $paramName,
@@ -133,10 +133,10 @@  discard block
 block discarded – undo
133 133
 
134 134
     /**
135 135
      * @param string       $paramName
136
-     * @param string|mixed $shouldBeString
136
+     * @param string $shouldBeString
137 137
      * @param string       $errorTitle
138 138
      *
139
-     * @return iterable
139
+     * @return \Generator
140 140
      */
141 141
     private function splitSpaceSeparatedStringAndCheckNoEmpties(
142 142
         string $paramName,
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      * @param string       $separator
153 153
      * @param string       $errorTitle
154 154
      *
155
-     * @return iterable
155
+     * @return \Generator
156 156
      *
157 157
      * @SuppressWarnings(PHPMD.IfStatementAssignment)
158 158
      */
Please login to merge, or discard this patch.