Completed
Push — 2.0 ( f56b08...046d46 )
by Nicolas
02:09
created
Composers/NavigationViewComposer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     /**
90 90
      * Check if the given menu item has children
91 91
      *
92
-     * @param  object $item
92
+     * @param  MenuitemEntity $item
93 93
      * @return bool
94 94
      */
95 95
     private function hasChildren($item)
Please login to merge, or discard this patch.
Providers/MenuServiceProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
     /**
136 136
      * Check if the given menu item has children
137 137
      *
138
-     * @param  object $item
138
+     * @param  Menuitem $item
139 139
      * @return bool
140 140
      */
141 141
     private function hasChildren($item)
Please login to merge, or discard this patch.
Providers/RouteServiceProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     protected $namespace = 'Modules\Menu\Http\Controllers';
12 12
 
13 13
     /**
14
-     * @return string
14
+     * @return boolean
15 15
      */
16 16
     protected function getFrontendRoute()
17 17
     {
Please login to merge, or discard this patch.
Tests/BaseMenuTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -90,6 +90,10 @@
 block discarded – undo
90 90
         ]);
91 91
     }
92 92
 
93
+    /**
94
+     * @param string $name
95
+     * @param string $title
96
+     */
93 97
     public function createMenu($name, $title)
94 98
     {
95 99
         $data = [
Please login to merge, or discard this patch.
Presenters/MenuPresenter.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * {@inheritdoc }.
36
+     * @param MenuItem $item
36 37
      */
37 38
     public function getActiveState($item, $state = ' class="active"')
38 39
     {
@@ -46,7 +47,7 @@  discard block
 block discarded – undo
46 47
     /**
47 48
      * Get active state on child items.
48 49
      *
49
-     * @param $item
50
+     * @param MenuItem $item
50 51
      * @param string $state
51 52
      *
52 53
      * @return null|string
Please login to merge, or discard this patch.