@@ -48,8 +48,9 @@ |
||
| 48 | 48 | $difference[$key] = $value; |
| 49 | 49 | } else { |
| 50 | 50 | $new_diff = $this->array_diff_assoc_recursive($value, $array2[$key]); |
| 51 | - if (!empty($new_diff)) |
|
| 52 | - $difference[$key] = $new_diff; |
|
| 51 | + if (!empty($new_diff)) { |
|
| 52 | + $difference[$key] = $new_diff; |
|
| 53 | + } |
|
| 53 | 54 | } |
| 54 | 55 | } else if (!array_key_exists($key, $array2) || $array2[$key] !== $value) { |
| 55 | 56 | $difference[$key] = $value; |
@@ -136,7 +136,7 @@ |
||
| 136 | 136 | */ |
| 137 | 137 | private function getIO(InputInterface $input, OutputInterface $output) |
| 138 | 138 | { |
| 139 | - if(class_exists('Symfony\Component\Console\Style\SymfonyStyle')) { |
|
| 139 | + if (class_exists('Symfony\Component\Console\Style\SymfonyStyle')) { |
|
| 140 | 140 | return new \Symfony\Component\Console\Style\SymfonyStyle($input, $output); |
| 141 | 141 | } |
| 142 | 142 | |
@@ -72,7 +72,6 @@ discard block |
||
| 72 | 72 | |
| 73 | 73 | /** |
| 74 | 74 | * @param InputInterface $input |
| 75 | - * @param OutputInterface $output |
|
| 76 | 75 | * |
| 77 | 76 | * @return VhostConfiguration |
| 78 | 77 | * |
@@ -100,7 +99,7 @@ discard block |
||
| 100 | 99 | /** |
| 101 | 100 | * @param InputInterface $input |
| 102 | 101 | * @param OutputInterface $output |
| 103 | - * @param $message |
|
| 102 | + * @param string $message |
|
| 104 | 103 | */ |
| 105 | 104 | private function comment(InputInterface $input, OutputInterface $output, $message) |
| 106 | 105 | { |
@@ -116,7 +115,7 @@ discard block |
||
| 116 | 115 | /** |
| 117 | 116 | * @param InputInterface $input |
| 118 | 117 | * @param OutputInterface $output |
| 119 | - * @param $message |
|
| 118 | + * @param string $message |
|
| 120 | 119 | */ |
| 121 | 120 | private function success(InputInterface $input, OutputInterface $output, $message) |
| 122 | 121 | { |