@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | * |
| 73 | 73 | * @param array|\Iterator $items |
| 74 | 74 | * @param callable $callback |
| 75 | - * @param \Spatie\Menu\Menu|null $initial |
|
| 75 | + * @param null|\self $initial |
|
| 76 | 76 | * |
| 77 | 77 | * @return static |
| 78 | 78 | */ |
@@ -560,7 +560,6 @@ discard block |
||
| 560 | 560 | /** |
| 561 | 561 | * Set tag for items wrapper. |
| 562 | 562 | * |
| 563 | - * @param string|null $wrapperTagName |
|
| 564 | 563 | * @return $this |
| 565 | 564 | */ |
| 566 | 565 | public function withoutWrapperTag() |
@@ -11,8 +11,8 @@ |
||
| 11 | 11 | use Spatie\Menu\Traits\Conditions as ConditionsTrait; |
| 12 | 12 | use Spatie\Menu\Traits\HasHtmlAttributes as HasHtmlAttributesTrait; |
| 13 | 13 | use Spatie\Menu\Traits\HasParentAttributes as HasParentAttributesTrait; |
| 14 | -use Spatie\Menu\Traits\HasTextAttributes as HasAttributesTrait; |
|
| 15 | 14 | use Spatie\Menu\Traits\HasPriority as HasPriorityTrait; |
| 15 | +use Spatie\Menu\Traits\HasTextAttributes as HasAttributesTrait; |
|
| 16 | 16 | use Traversable; |
| 17 | 17 | |
| 18 | 18 | class Menu implements Item, Countable, HasHtmlAttributes, HasParentAttributes, IteratorAggregate |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Spatie\Menu\ActiveUrlChecker; |
| 6 | 6 | use Spatie\Menu\ExactUrlChecker; |
| 7 | -use Spatie\Url\Url; |
|
| 8 | 7 | |
| 9 | 8 | /** |
| 10 | 9 | * Expects an `$active` property on the class. |