@@ -190,7 +190,7 @@ |
||
190 | 190 | /** |
191 | 191 | * Returns parsed current line. |
192 | 192 | * |
193 | - * @return mixed |
|
193 | + * @return string |
|
194 | 194 | */ |
195 | 195 | public function current() |
196 | 196 | { |
@@ -284,7 +284,7 @@ |
||
284 | 284 | * |
285 | 285 | * @param array $params Parameters that will be passed to the flush or refresh queries. |
286 | 286 | * |
287 | - * @return null|array |
|
287 | + * @return callable|null |
|
288 | 288 | */ |
289 | 289 | public function commit(array $params = []) |
290 | 290 | { |
@@ -359,7 +359,7 @@ |
||
359 | 359 | /** |
360 | 360 | * Parses raw result. |
361 | 361 | * |
362 | - * @param array $raw |
|
362 | + * @param callable $raw |
|
363 | 363 | * @param string $resultsType |
364 | 364 | * @param string $scrollDuration |
365 | 365 | * |
@@ -312,7 +312,7 @@ |
||
312 | 312 | /** |
313 | 313 | * returns the namespace declared at the start of a file |
314 | 314 | * @param $filepath |
315 | - * @return bool |
|
315 | + * @return string|false |
|
316 | 316 | */ |
317 | 317 | private function getFileNamespace($filepath) { |
318 | 318 | $exists = preg_match('/<\?php.+?namespace ([^;]+)/si', file_get_contents($filepath), $match); |