|
@@ -772,19 +772,19 @@ class SamiTwigExtension extends \Twig_Extension {
|
|
if (!empty($traits)) {
|
|
if (!empty($traits)) {
|
|
foreach($traits as $key => $trait)
|
|
foreach($traits as $key => $trait)
|
|
$traits[$key] = self::render_class($trait);
|
|
$traits[$key] = self::render_class($trait);
|
|
- array_unshift($t, "## Traits");
|
|
|
|
|
|
+ array_unshift($traits, "## Traits");
|
|
}
|
|
}
|
|
|
|
|
|
if (!empty($interfaces)) {
|
|
if (!empty($interfaces)) {
|
|
foreach($interfaces as $key => $interface)
|
|
foreach($interfaces as $key => $interface)
|
|
$interfaces[$key] = self::render_class($interface);
|
|
$interfaces[$key] = self::render_class($interface);
|
|
- array_unshift($i, "## Interfaces");
|
|
|
|
|
|
+ array_unshift($interfaces, "## Interfaces");
|
|
}
|
|
}
|
|
|
|
|
|
if (!empty($exceptions)) {
|
|
if (!empty($exceptions)) {
|
|
foreach($exceptions as $key => $exception)
|
|
foreach($exceptions as $key => $exception)
|
|
$exceptions[$key] = self::render_class($exception);
|
|
$exceptions[$key] = self::render_class($exception);
|
|
- array_unshift($e, "## Exceptions");
|
|
|
|
|
|
+ array_unshift($exceptions, "## Exceptions");
|
|
}
|
|
}
|
|
return sprintf("%s%s%s%s",
|
|
return sprintf("%s%s%s%s",
|
|
self::join($classes),
|
|
self::join($classes),
|