@@ -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; |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | /** |
101 | 101 | * @param InputInterface $input |
102 | 102 | * @param OutputInterface $output |
103 | - * @param $message |
|
103 | + * @param string $message |
|
104 | 104 | */ |
105 | 105 | private function comment(InputInterface $input, OutputInterface $output, $message) |
106 | 106 | { |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | /** |
117 | 117 | * @param InputInterface $input |
118 | 118 | * @param OutputInterface $output |
119 | - * @param $message |
|
119 | + * @param string $message |
|
120 | 120 | */ |
121 | 121 | private function success(InputInterface $input, OutputInterface $output, $message) |
122 | 122 | { |
@@ -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 |