Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/3.x' into 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Sep 8, 2024
2 parents 0f500eb + 438ee05 commit b1e5c49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/PermissionsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ final class PermissionsServiceProvider extends ServiceProvider
{
/**
* @param ConfiguratorContract<MoonShineConfigurator> $configurator
*
* @return void
*/
public function boot(ConfiguratorContract $configurator): void
{
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/WithPermissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ protected function loadWithPermissions(): void
$this
)->canSee(
fn (
) => MoonShineAuth::getGuard()->user()->moonshine_user_role_id === MoonshineUserRole::DEFAULT_ROLE_ID
): bool => MoonShineAuth::getGuard()->user()->moonshine_user_role_id === MoonshineUserRole::DEFAULT_ROLE_ID
)
);
}
Expand Down

0 comments on commit b1e5c49

Please sign in to comment.