@@ -262,7 +262,7 @@ |
||
| 262 | 262 | */ |
| 263 | 263 | public function validateInt($answer) |
| 264 | 264 | { |
| 265 | - if ((int)$answer === 0) { |
|
| 265 | + if ((int) $answer === 0) { |
|
| 266 | 266 | throw new RuntimeException( |
| 267 | 267 | 'The range should be numeric and above 0 e.g. 1' |
| 268 | 268 | ); |
@@ -292,7 +292,7 @@ |
||
| 292 | 292 | $dbHost = $this->config->getString('db_host'); |
| 293 | 293 | |
| 294 | 294 | if ($this->config->getInt('db_port') !== 3306) { |
| 295 | - $dbHost .= ':' . (string)$this->config->getInt('db_port'); |
|
| 295 | + $dbHost .= ':' . (string) $this->config->getInt('db_port'); |
|
| 296 | 296 | |
| 297 | 297 | return $dbHost; |
| 298 | 298 | } |