@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | - * @param mixed $user |
|
| 53 | + * @param string $user |
|
| 54 | 54 | * @return $this |
| 55 | 55 | */ |
| 56 | 56 | public function overrideUser($user) |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * @param mixed $password |
|
| 64 | + * @param string $password |
|
| 65 | 65 | * @return $this |
| 66 | 66 | */ |
| 67 | 67 | public function overridePassword($password) |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | /** |
| 67 | 67 | * Delete a queue from a vhost |
| 68 | 68 | * |
| 69 | - * @param $vhost |
|
| 69 | + * @param string $vhost |
|
| 70 | 70 | * @param $name |
| 71 | 71 | * @return mixed |
| 72 | 72 | */ |
@@ -47,8 +47,9 @@ |
||
| 47 | 47 | |
| 48 | 48 | $this->command = new ConfigExpertCommand($container); |
| 49 | 49 | |
| 50 | - if (!defined('ROOT_PATH')) |
|
| 51 | - define('ROOT_PATH', realpath(__DIR__.'/../')); |
|
| 50 | + if (!defined('ROOT_PATH')) { |
|
| 51 | + define('ROOT_PATH', realpath(__DIR__.'/../')); |
|
| 52 | + } |
|
| 52 | 53 | } |
| 53 | 54 | |
| 54 | 55 | public function testFailedParsing() |
@@ -16,8 +16,9 @@ |
||
| 16 | 16 | { |
| 17 | 17 | public function test() |
| 18 | 18 | { |
| 19 | - if (!defined('ROOT_PATH')) |
|
| 20 | - define('ROOT_PATH', realpath(__DIR__.'/../')); |
|
| 19 | + if (!defined('ROOT_PATH')) { |
|
| 20 | + define('ROOT_PATH', realpath(__DIR__.'/../')); |
|
| 21 | + } |
|
| 21 | 22 | |
| 22 | 23 | $container = new Container(); |
| 23 | 24 | $command = new ValidateExpertCommand($container); |
@@ -29,8 +29,9 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public function test($filePath, $exception = null) |
| 31 | 31 | { |
| 32 | - if (!defined('ROOT_PATH')) |
|
| 33 | - define('ROOT_PATH', realpath(__DIR__.'/../')); |
|
| 32 | + if (!defined('ROOT_PATH')) { |
|
| 33 | + define('ROOT_PATH', realpath(__DIR__.'/../')); |
|
| 34 | + } |
|
| 34 | 35 | |
| 35 | 36 | $parser = new ParseExpertConfig(); |
| 36 | 37 | |