@@ -75,7 +75,7 @@ |
||
| 75 | 75 | * @param string $link |
| 76 | 76 | * @param array $options |
| 77 | 77 | * |
| 78 | - * @return $this |
|
| 78 | + * @return MenuItem |
|
| 79 | 79 | */ |
| 80 | 80 | public function link($item, $link, array $options = [ ]) |
| 81 | 81 | { |
@@ -31,8 +31,8 @@ |
||
| 31 | 31 | /** |
| 32 | 32 | * MenuItem constructor. |
| 33 | 33 | * |
| 34 | - * @param $label |
|
| 35 | - * @param $link |
|
| 34 | + * @param string $label |
|
| 35 | + * @param string $link |
|
| 36 | 36 | * @param array $options |
| 37 | 37 | */ |
| 38 | 38 | public function __construct($label, $link, array $options = [ ]) |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | /** |
| 16 | 16 | * Return this menu's options, or a single option as specified. |
| 17 | 17 | * |
| 18 | - * @param null $key |
|
| 18 | + * @param string $key |
|
| 19 | 19 | * |
| 20 | 20 | * @return array |
| 21 | 21 | */ |