diff --git a/src/Classes/RenderNavItem.php b/src/Classes/RenderNavItem.php index dd8512b..f5a5320 100644 --- a/src/Classes/RenderNavItem.php +++ b/src/Classes/RenderNavItem.php @@ -18,8 +18,8 @@ private static function anchorLink( string $target, string $link, string $label, - bool $wrap = false, - string $wrapClass = '', + ?bool $wrap = false, + ?string $wrapClass = '', ): string { // TODO: make this component based? // Then it's probably easier for users to further customize this?