@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\Menu\Traits; |
4 | 4 | |
5 | -use Spatie\Url\Url; |
|
6 | 5 | use Spatie\Menu\Helpers\Str; |
6 | +use Spatie\Url\Url; |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Expects an `$active` property on the class. |
@@ -189,7 +189,7 @@ |
||
189 | 189 | } |
190 | 190 | |
191 | 191 | /** |
192 | - * @param $conditional |
|
192 | + * @param boolean $conditional |
|
193 | 193 | * @return bool |
194 | 194 | */ |
195 | 195 | protected function resolveCondition($conditional) |
@@ -3,9 +3,9 @@ |
||
3 | 3 | namespace Spatie\Menu; |
4 | 4 | |
5 | 5 | use Countable; |
6 | -use Spatie\Menu\Html\Tag; |
|
7 | -use Spatie\Menu\Html\Attributes; |
|
8 | 6 | use Spatie\Menu\Helpers\Reflection; |
7 | +use Spatie\Menu\Html\Attributes; |
|
8 | +use Spatie\Menu\Html\Tag; |
|
9 | 9 | use Spatie\Menu\Traits\HasHtmlAttributes as HasHtmlAttributesTrait; |
10 | 10 | use Spatie\Menu\Traits\HasParentAttributes as HasParentAttributesTrait; |
11 | 11 |