Comply PSR

This commit is contained in:
Sam Georges 2014-10-24 19:01:30 +11:00
parent 38f8aab27c
commit 688d8c95de
1 changed files with 2 additions and 4 deletions

View File

@ -105,11 +105,9 @@ class DebugExtension extends Twig_Extension
if ($var instanceof ComponentBase) {
$caption = static::COMPONENT_CAPTION;
}
elseif (is_array($var)) {
} elseif (is_array($var)) {
$caption = static::ARRAY_CAPTION;
}
else {
} else {
$caption = static::OBJECT_CAPTION;
$subcaption = get_class($var);
}