Skip to content

Commit cf63069

Browse files
committed
Fixed copy/paste mistake
1 parent 8968bd0 commit cf63069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ protected function outputRoute(OutputInterface $output, $name)
147147
foreach ($r as $name => $value) {
148148
$requirements .= ($requirements ? "\n".str_repeat(' ', 13) : '').$name.': '.$this->formatValue($value);
149149
}
150-
$requirements = '' !== $requirements ? $route->getHostnamePattern() : 'NONE';
150+
$requirements = '' !== $requirements ? $requirements : 'NONE';
151151
$output->writeln(sprintf('<comment>Requirements</comment> %s', $requirements));
152152

153153
$options = '';

0 commit comments

Comments
 (0)