Completed
Branch develop (5a7a06)
by Neomerx
04:07
created
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.