@@ -125,6 +125,10 @@ |
||
125 | 125 | return $this->resultSet; |
126 | 126 | } |
127 | 127 | |
128 | + /** |
|
129 | + * @param integer|null $start |
|
130 | + * @param integer|null $rows |
|
131 | + */ |
|
128 | 132 | private function resultSetStartAndRowsAreNotNullAndChange($start, $rows) |
129 | 133 | { |
130 | 134 | return $this->resultSetStartAndRowsAreNotNull($start, $rows) && |
@@ -105,6 +105,9 @@ discard block |
||
105 | 105 | return $this->normalizeOutOfRangePages; |
106 | 106 | } |
107 | 107 | |
108 | + /** |
|
109 | + * @param boolean $value |
|
110 | + */ |
|
108 | 111 | private function filterBoolean($value) |
109 | 112 | { |
110 | 113 | if (!is_bool($value)) { |
@@ -134,6 +137,9 @@ discard block |
||
134 | 137 | return $this; |
135 | 138 | } |
136 | 139 | |
140 | + /** |
|
141 | + * @param integer $maxPerPage |
|
142 | + */ |
|
137 | 143 | private function filterMaxPerPage($maxPerPage) |
138 | 144 | { |
139 | 145 | $maxPerPage = $this->toInteger($maxPerPage); |
@@ -214,6 +220,10 @@ discard block |
||
214 | 220 | $this->useDeprecatedBooleanArgument($arguments, $index, $method); |
215 | 221 | } |
216 | 222 | |
223 | + /** |
|
224 | + * @param integer $index |
|
225 | + * @param string $method |
|
226 | + */ |
|
217 | 227 | private function useDeprecatedBooleanArgument($arguments, $index, $method) |
218 | 228 | { |
219 | 229 | if (isset($arguments[$index])) { |
@@ -221,6 +231,9 @@ discard block |
||
221 | 231 | } |
222 | 232 | } |
223 | 233 | |
234 | + /** |
|
235 | + * @param integer $currentPage |
|
236 | + */ |
|
224 | 237 | private function filterCurrentPage($currentPage) |
225 | 238 | { |
226 | 239 | $currentPage = $this->toInteger($currentPage); |
@@ -43,6 +43,9 @@ discard block |
||
43 | 43 | return DriverManager::getConnection($params); |
44 | 44 | } |
45 | 45 | |
46 | + /** |
|
47 | + * @param \Doctrine\DBAL\Connection $conn |
|
48 | + */ |
|
46 | 49 | private function createSchema($conn) |
47 | 50 | { |
48 | 51 | $schema = new Schema(); |
@@ -66,6 +69,9 @@ discard block |
||
66 | 69 | } |
67 | 70 | } |
68 | 71 | |
72 | + /** |
|
73 | + * @param \Doctrine\DBAL\Connection $conn |
|
74 | + */ |
|
69 | 75 | private function insertData($conn) |
70 | 76 | { |
71 | 77 | for ($i = 1; $i <= 50; $i++) { |
@@ -188,6 +188,9 @@ |
||
188 | 188 | $this->doTestGetResultSet($query, $endPoint); |
189 | 189 | } |
190 | 190 | |
191 | + /** |
|
192 | + * @param null|string $endPoint |
|
193 | + */ |
|
191 | 194 | private function doTestGetResultSet($query, $endPoint) |
192 | 195 | { |
193 | 196 | $client = $this->createClientMock(); |