Skip to content

Commit a943a58

Browse files
Minor CS fixes
1 parent b8415ba commit a943a58

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Command/ConfigDebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ private static function buildPathsCompletion(array $paths, string $prefix = ''):
259259
$completionPaths = [];
260260
foreach ($paths as $key => $values) {
261261
if (\is_array($values)) {
262-
$completionPaths = $completionPaths + self::buildPathsCompletion($values, $prefix.$key.'.');
262+
$completionPaths += self::buildPathsCompletion($values, $prefix.$key.'.');
263263
} else {
264264
$completionPaths[$prefix.$key] = null;
265265
}

Command/TranslationDebugCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,14 +212,14 @@ protected function execute(InputInterface $input, OutputInterface $output): int
212212
$states[] = self::MESSAGE_MISSING;
213213

214214
if (!$input->getOption('only-unused')) {
215-
$exitCode = $exitCode | self::EXIT_CODE_MISSING;
215+
$exitCode |= self::EXIT_CODE_MISSING;
216216
}
217217
}
218218
} elseif ($currentCatalogue->defines($messageId, $domain)) {
219219
$states[] = self::MESSAGE_UNUSED;
220220

221221
if (!$input->getOption('only-missing')) {
222-
$exitCode = $exitCode | self::EXIT_CODE_UNUSED;
222+
$exitCode |= self::EXIT_CODE_UNUSED;
223223
}
224224
}
225225

@@ -233,7 +233,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
233233
if ($fallbackCatalogue->defines($messageId, $domain) && $value === $fallbackCatalogue->get($messageId, $domain)) {
234234
$states[] = self::MESSAGE_EQUALS_FALLBACK;
235235

236-
$exitCode = $exitCode | self::EXIT_CODE_FALLBACK;
236+
$exitCode |= self::EXIT_CODE_FALLBACK;
237237

238238
break;
239239
}

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1836,7 +1836,7 @@ private function addHttpClientSection(ArrayNodeDefinition $rootNode, callable $e
18361836
continue;
18371837
}
18381838
if (\is_array($scopedConfig['retry_failed'])) {
1839-
$scopedConfig['retry_failed'] = $scopedConfig['retry_failed'] + $config['default_options']['retry_failed'];
1839+
$scopedConfig['retry_failed'] += $config['default_options']['retry_failed'];
18401840
}
18411841
}
18421842

0 commit comments

Comments
 (0)