| @@ -78,7 +78,7 @@ | ||
| 78 | 78 | !empty($config['connections']) | 
| 79 | 79 | && is_array($config['connections']) | 
| 80 | 80 |              ) { | 
| 81 | - /** @var array<string, array<string, mixed>> $connections */ | |
| 81 | + /** @var array<string, array<string, mixed>> $connections */ | |
| 82 | 82 | $connections = $config['connections']; | 
| 83 | 83 | |
| 84 | 84 |                  foreach ($connections as $name => $connection) { | 
| @@ -198,10 +198,10 @@ discard block | ||
| 198 | 198 | return $this->appname; | 
| 199 | 199 | } | 
| 200 | 200 | |
| 201 | - /** | |
| 202 | - * Return the host | |
| 203 | - * @return string | |
| 204 | - */ | |
| 201 | + /** | |
| 202 | + * Return the host | |
| 203 | + * @return string | |
| 204 | + */ | |
| 205 | 205 | public function getHostname(): string | 
| 206 | 206 |      { | 
| 207 | 207 | return $this->hostname; | 
| @@ -399,12 +399,12 @@ discard block | ||
| 399 | 399 | public function getDriverClassName(): string | 
| 400 | 400 |      { | 
| 401 | 401 | $maps = [ | 
| 402 | - 'mysql' => MySQL::class, | |
| 403 | - 'pgsql' => PostgreSQL::class, | |
| 404 | - 'sqlsrv' => SQLServer::class, | |
| 405 | - 'oci' => Oracle::class, | |
| 406 | - 'oracle' => Oracle::class, | |
| 407 | - 'sqlite' => SQLite::class, | |
| 402 | + 'mysql' => MySQL::class, | |
| 403 | + 'pgsql' => PostgreSQL::class, | |
| 404 | + 'sqlsrv' => SQLServer::class, | |
| 405 | + 'oci' => Oracle::class, | |
| 406 | + 'oracle' => Oracle::class, | |
| 407 | + 'sqlite' => SQLite::class, | |
| 408 | 408 | ]; | 
| 409 | 409 | |
| 410 | 410 | return isset($maps[$this->driver]) | 
| @@ -475,12 +475,12 @@ | ||
| 475 | 475 | } | 
| 476 | 476 | } | 
| 477 | 477 | |
| 478 | - /** | |
| 479 | - * Change the query parameters placeholder with the value | |
| 480 | - * @param string $query | |
| 481 | - * @param array<int, mixed> $params | |
| 482 | - * @return string | |
| 483 | - */ | |
| 478 | + /** | |
| 479 | + * Change the query parameters placeholder with the value | |
| 480 | + * @param string $query | |
| 481 | + * @param array<int, mixed> $params | |
| 482 | + * @return string | |
| 483 | + */ | |
| 484 | 484 | protected function replaceParameters(string $query, array $params): string | 
| 485 | 485 |      { | 
| 486 | 486 | $driver = $this->driver; |