[Routing] fixed CS

This commit is contained in:
Fabien Potencier 2011-03-14 13:54:48 +01:00
parent 84172c4839
commit f0a6ed2e54
2 changed files with 4 additions and 3 deletions

View File

@ -79,6 +79,7 @@ class Router implements RouterInterface
$invalid[] = $key; $invalid[] = $key;
} }
} }
if ($isInvalid) { if ($isInvalid) {
throw new \InvalidArgumentException(sprintf('The Router does not support the following options: \'%s\'.', implode('\', \'', $invalid))); throw new \InvalidArgumentException(sprintf('The Router does not support the following options: \'%s\'.', implode('\', \'', $invalid)));
} }