Skip to content

Commit e38ae6f

Browse files
committed
Php Inspections (EA Extended) - static code analysis includes:
Reduce couple count calls in [Yaml] Modernize type casting, fix several strict comparisons Unsets merged Elvis operator usage Short syntax for applied operations
1 parent 28f8a70 commit e38ae6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Command/ContainerDebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ protected function outputService(OutputInterface $output, $serviceId)
305305
$synthetic = $definition->isSynthetic() ? 'yes' : 'no';
306306
$output->writeln(sprintf('<comment>Synthetic</comment> %s', $synthetic));
307307

308-
$file = $definition->getFile() ? $definition->getFile() : '-';
308+
$file = $definition->getFile() ?: '-';
309309
$output->writeln(sprintf('<comment>Required File</comment> %s', $file));
310310
} elseif ($definition instanceof Alias) {
311311
$alias = $definition;

0 commit comments

Comments
 (0)