Completed
Push — feature/menu-types ( 42d141...d71272 )
by Nicolas
16:45 queued 07:07
created
Presenters/MenuPresenter.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@  discard block
 block discarded – undo
8 8
 
9 9
 class MenuPresenter extends Presenter
10 10
 {
11
+    /**
12
+     * @param MenuItem $item
13
+     */
11 14
     public function setLocale($item)
12 15
     {
13 16
         if (LaravelLocalization::hideDefaultLocaleInURL() === false) {
@@ -42,6 +45,7 @@  discard block
 block discarded – undo
42 45
 
43 46
     /**
44 47
      * {@inheritdoc }.
48
+     * @param MenuItem $item
45 49
      */
46 50
     public function getActiveState($item, $state = ' class="active"')
47 51
     {
@@ -51,7 +55,7 @@  discard block
 block discarded – undo
51 55
     /**
52 56
      * Get active state on child items.
53 57
      *
54
-     * @param $item
58
+     * @param MenuItem $item
55 59
      * @param string $state
56 60
      *
57 61
      * @return null|string
Please login to merge, or discard this patch.