Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi authored and github-actions[bot] committed Oct 29, 2024
1 parent 8f8ef12 commit c3000ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Concerns/CanDisableBadges.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

namespace LaraZeus\FilamentPluginTools\Concerns;

use Closure;

trait CanDisableBadges
Expand Down Expand Up @@ -30,7 +31,7 @@ private function setShowNavigationBadges(Closure | bool $show = true, ?string $r
return $this;
}

public function getShowNavigationBadges(string $resource = null): bool
public function getShowNavigationBadges(?string $resource = null): bool
{
if ($resource !== null) {
return $this->showNavigationBadgesArray[$resource] ?? $this->evaluate($this->showNavigationBadges);
Expand Down

0 comments on commit c3000ea

Please sign in to comment.