Completed
Pull Request — master (#34)
by
unknown
03:42
created
src/Presenters/Presenter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function getOpenTagA($item)
34 34
     {
35
-        if($item->attributes['vue']){
35
+        if ($item->attributes['vue']) {
36 36
             return PHP_EOL . '<router-link to="' . PHP_EOL;
37 37
         }
38 38
         return PHP_EOL . '<a href=">' . PHP_EOL;
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public function getCloseTagA($item)
47 47
     {
48
-        if($item->attributes['vue']){
48
+        if ($item->attributes['vue']) {
49 49
             return PHP_EOL . '</router-link>' . PHP_EOL;
50 50
         }
51 51
         return PHP_EOL . '</a>' . PHP_EOL;
Please login to merge, or discard this patch.
src/Presenters/Admin/AdminltePresenter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function getMenuWithoutDropdownWrapper($item)
29 29
     {
30 30
         //return '<li' . $this->getActiveState($item) . '><a href="' . $item->getUrl() . '" ' . $item->getAttributes() . '>' . $item->getIcon() . ' <span>' . $item->title . '</span></a></li>' . PHP_EOL;
31
-        return '<li ' . $this->getActiveState($item) . '>'.$this->getOpenTagA($item).$item->getUrl() . '"' . $item->getAttributes() . '>' . $item->getIcon() . ' <span>' . $item->title . '</span>'.$this->getCloseTagA($item).'</li>' . PHP_EOL;
31
+        return '<li ' . $this->getActiveState($item) . '>' . $this->getOpenTagA($item) . $item->getUrl() . '"' . $item->getAttributes() . '>' . $item->getIcon() . ' <span>' . $item->title . '</span>' . $this->getCloseTagA($item) . '</li>' . PHP_EOL;
32 32
     }
33 33
 
34 34
     /**
Please login to merge, or discard this patch.