diff --git a/src/Symfony/Bridge/Twig/Command/DebugCommand.php b/src/Symfony/Bridge/Twig/Command/DebugCommand.php
index 5c52f6c7c04c..618dce76c5a7 100644
--- a/src/Symfony/Bridge/Twig/Command/DebugCommand.php
+++ b/src/Symfony/Bridge/Twig/Command/DebugCommand.php
@@ -101,7 +101,7 @@ protected function configure()
protected function execute(InputInterface $input, OutputInterface $output)
{
$io = new SymfonyStyle($input, $output);
- $decored = $io->isDecorated();
+ $decorated = $io->isDecorated();
// BC to be removed in 4.0
if (__CLASS__ !== \get_class($this)) {
@@ -135,7 +135,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$data['loader_paths'] = $this->getLoaderPaths();
$data = json_encode($data, JSON_PRETTY_PRINT);
- $io->writeln($decored ? OutputFormatter::escape($data) : $data);
+ $io->writeln($decorated ? OutputFormatter::escape($data) : $data);
return 0;
}
@@ -144,7 +144,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$items = [];
foreach ($this->twig->{'get'.ucfirst($type)}() as $name => $entity) {
if (!$filter || false !== strpos($name, $filter)) {
- $items[$name] = $name.$this->getPrettyMetadata($type, $entity, $decored);
+ $items[$name] = $name.$this->getPrettyMetadata($type, $entity, $decorated);
}
}
@@ -270,7 +270,7 @@ private function getMetadata($type, $entity)
}
}
- private function getPrettyMetadata($type, $entity, $decored)
+ private function getPrettyMetadata($type, $entity, $decorated)
{
if ('tests' === $type) {
return '';
@@ -282,7 +282,7 @@ private function getPrettyMetadata($type, $entity, $decored)
return '(unknown?)';
}
} catch (\UnexpectedValueException $e) {
- return sprintf(' %s', $decored ? OutputFormatter::escape($e->getMessage()) : $e->getMessage());
+ return sprintf(' %s', $decorated ? OutputFormatter::escape($e->getMessage()) : $e->getMessage());
}
if ('globals' === $type) {
@@ -292,7 +292,7 @@ private function getPrettyMetadata($type, $entity, $decored)
$description = substr(@json_encode($meta), 0, 50);
- return sprintf(' = %s', $decored ? OutputFormatter::escape($description) : $description);
+ return sprintf(' = %s', $decorated ? OutputFormatter::escape($description) : $description);
}
if ('functions' === $type) {