@@ -12,9 +12,9 @@ |
||
| 12 | 12 | |
| 13 | 13 | namespace chillerlan\Database; |
| 14 | 14 | |
| 15 | -use chillerlan\Settings\SettingsContainerInterface; |
|
| 16 | 15 | use Psr\Log\LoggerInterface; |
| 17 | 16 | use Psr\SimpleCache\CacheInterface; |
| 17 | +use chillerlan\Settings\SettingsContainerInterface; |
|
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * @todo WIP |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | throw new DatabaseException('invalid driver interface'); |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | - $this->query = new QueryBuilder($this->driver, $this->logger); |
|
| 68 | + $this->query = new QueryBuilder($this->driver, $this->logger); |
|
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |
@@ -25,8 +25,8 @@ discard block |
||
| 25 | 25 | * @param array $cols |
| 26 | 26 | * @param array $from |
| 27 | 27 | * @param string|null $where |
| 28 | - * @param null $limit |
|
| 29 | - * @param null $offset |
|
| 28 | + * @param integer $limit |
|
| 29 | + * @param integer $offset |
|
| 30 | 30 | * @param bool|null $distinct |
| 31 | 31 | * @param array $groupby |
| 32 | 32 | * @param array $orderby |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | * @param string $dbname |
| 119 | 119 | * @param bool $ifExists |
| 120 | 120 | * |
| 121 | - * @return mixed |
|
| 121 | + * @return string[] |
|
| 122 | 122 | */ |
| 123 | 123 | public function dropDatabase(string $dbname, bool $ifExists); |
| 124 | 124 | |