diff --git a/src/Presenters/Admin/AdminltePresenter.php b/src/Presenters/Admin/Adminlte.php similarity index 100% rename from src/Presenters/Admin/AdminltePresenter.php rename to src/Presenters/Admin/Adminlte.php diff --git a/src/Presenters/Admin/Argon.php b/src/Presenters/Admin/Argon.php index 70cf55a..095938f 100644 --- a/src/Presenters/Admin/Argon.php +++ b/src/Presenters/Admin/Argon.php @@ -34,7 +34,7 @@ public function getCloseTagWrapper() public function getMenuWithoutDropdownWrapper($item) { $html = '
  • getActiveState($item) . '>' . $item->getIcon() . '' . $item->title . '
  • '; } /** * {@inheritdoc } */ - public function getActiveState($item) { + public function getActiveState($item) + { return \Request::is($item->getRequest()) ? ' class="m-menu__item m-menu__item--rel active"' : 'class="m-menu__item m-menu__item--rel"'; } /** * {@inheritdoc } */ - public function getDividerWrapper() { + public function getDividerWrapper() + { return ''; } /** * {@inheritdoc } */ - public function getMenuWithDropDownWrapper($item) { + public function getMenuWithDropDownWrapper($item) + { if ($item->title == '...') { return '' . PHP_EOL; } - } diff --git a/src/Presenters/Foundation/Zurb.php b/src/Presenters/Foundation/Zurb.php index 4259f58..7903895 100644 --- a/src/Presenters/Foundation/Zurb.php +++ b/src/Presenters/Foundation/Zurb.php @@ -28,7 +28,7 @@ public function getCloseTagWrapper() */ public function getMenuWithoutDropdownWrapper($item) { - return 'getActiveState($item).'>'.$item->title.''; + return 'getActiveState($item) . '>' . $item->title . ''; } /** @@ -53,9 +53,9 @@ public function getDividerWrapper() public function getMenuWithDropDownWrapper($item) { return '' . PHP_EOL; } @@ -67,10 +67,10 @@ public function getMenuWithDropDownWrapper($item) public function getMultiLevelDropdownWrapper($item) { return '
  • - '.$item->title . ' + ' . $item->title . ' -
  • '. PHP_EOL; + ' . PHP_EOL; } -} \ No newline at end of file +}