Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Jul 16, 2018
1 parent 78d014c commit eca6662
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Twig/Extension/Component/AbstractComponentTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace WBW\Bundle\BootstrapBundle\Twig\Extension\Component;

use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Translation\TranslatorInterface;
use WBW\Bundle\BootstrapBundle\Helper\NavigationTreeHelper;
use WBW\Bundle\BootstrapBundle\Navigation\NavigationNode;
Expand Down Expand Up @@ -144,9 +143,6 @@ protected function bootstrapBreadcrumbs(NavigationTree $tree) {

// Handle each breadcrumb node.
for ($i = 0; $i < $count; ++$i) {
if (false === ($nodes[$i] instanceOf NavigationNode)) {
continue;
}
$innerHTML[] = $this->bootstrapBreadcrumb($nodes[$i], $count === $i + 1);
}

Expand Down

0 comments on commit eca6662

Please sign in to comment.