Completed
Push — master ( a7eafe...12a2e2 )
by Nicolas
03:02
created
src/MenuItem.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -148,8 +148,8 @@  discard block
 block discarded – undo
148 148
     /**
149 149
      * Register new child menu with dropdown.
150 150
      *
151
-     * @param $title
152
-     * @param callable $callback
151
+     * @param string $title
152
+     * @param Closure $callback
153 153
      *
154 154
      * @return $this
155 155
      */
@@ -178,8 +178,8 @@  discard block
 block discarded – undo
178 178
     /**
179 179
      * Create new menu item and set the action to route.
180 180
      *
181
-     * @param $route
182
-     * @param $title
181
+     * @param string $route
182
+     * @param string $title
183 183
      * @param array $parameters
184 184
      * @param array $attributes
185 185
      *
@@ -205,8 +205,8 @@  discard block
 block discarded – undo
205 205
     /**
206 206
      * Create new menu item  and set the action to url.
207 207
      *
208
-     * @param $url
209
-     * @param $title
208
+     * @param string $url
209
+     * @param string $title
210 210
      * @param array $attributes
211 211
      *
212 212
      * @return MenuItem
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
     /**
291 291
      * Same with "addHeader" method.
292 292
      *
293
-     * @param $title
293
+     * @param string $title
294 294
      *
295 295
      * @return $this
296 296
      */
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
     /**
404 404
      * Check is the current item divider.
405 405
      *
406
-     * @param $name
406
+     * @param string $name
407 407
      *
408 408
      * @return bool
409 409
      */
@@ -435,7 +435,7 @@  discard block
 block discarded – undo
435 435
     /**
436 436
      * Check the active state for current menu.
437 437
      *
438
-     * @return mixed
438
+     * @return boolean
439 439
      */
440 440
     public function hasActiveOnChild()
441 441
     {
@@ -587,7 +587,7 @@  discard block
 block discarded – undo
587 587
      * Set hide condition for current menu item.
588 588
      *
589 589
      * @param  Closure
590
-     * @return boolean
590
+     * @return MenuItem
591 591
      */
592 592
     public function hideWhen(Closure $callback)
593 593
     {
Please login to merge, or discard this patch.