Completed
Branch master (0e4525)
by
unknown
01:49
created
src/Http/Query/BaseQueryParserTrait.php 1 patch
Doc Comments   +9 added lines, -9 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 getIncludePaths(array $parameters, string $errorTitle): iterable
55 55
     {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      * @param array  $parameters
65 65
      * @param string $errorTitle
66 66
      *
67
-     * @return iterable
67
+     * @return \Generator
68 68
      */
69 69
     protected function getFields(array $parameters, string $errorTitle): iterable
70 70
     {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      * @param array  $parameters
85 85
      * @param string $errorTitle
86 86
      *
87
-     * @return iterable
87
+     * @return \Generator
88 88
      */
89 89
     protected function getSorts(array $parameters, string $errorTitle): iterable
90 90
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      * @param array  $parameters
117 117
      * @param string $errorTitle
118 118
      *
119
-     * @return iterable
119
+     * @return \Generator
120 120
      */
121 121
     protected function getProfileUrls(array $parameters, string $errorTitle): iterable
122 122
     {
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      * @param string|mixed $shouldBeString
137 137
      * @param string       $errorTitle
138 138
      *
139
-     * @return iterable
139
+     * @return \Generator
140 140
      */
141 141
     private function splitCommaSeparatedStringAndCheckNoEmpties(
142 142
         string $paramName,
@@ -148,10 +148,10 @@  discard block
 block discarded – undo
148 148
 
149 149
     /**
150 150
      * @param string       $paramName
151
-     * @param string|mixed $shouldBeString
151
+     * @param string $shouldBeString
152 152
      * @param string       $errorTitle
153 153
      *
154
-     * @return iterable
154
+     * @return \Generator
155 155
      */
156 156
     private function splitSpaceSeparatedStringAndCheckNoEmpties(
157 157
         string $paramName,
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
      * @param string       $separator
168 168
      * @param string       $errorTitle
169 169
      *
170
-     * @return iterable
170
+     * @return \Generator
171 171
      *
172 172
      * @SuppressWarnings(PHPMD.IfStatementAssignment)
173 173
      */
Please login to merge, or discard this patch.