Skip to content

Commit

Permalink
Merge pull request #8 from lacodix/feat/laravel-11
Browse files Browse the repository at this point in the history
fix(style): fixed styles
  • Loading branch information
renky authored Sep 15, 2024
2 parents f129d08 + f4dbc3a commit 1b9fa25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaravelGlobalOrScopeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function boot(): void
Builder::macro(
'withGlobalOrScopes',
// @phpstan-ignore-next-line
fn (array $scopes = null) => $this->withGlobalScope(md5(serialize($scopes)), new OrScope($scopes))
fn (?array $scopes = null) => $this->withGlobalScope(md5(serialize($scopes)), new OrScope($scopes))

Check failure on line 24 in src/LaravelGlobalOrScopeServiceProvider.php

View workflow job for this annotation

GitHub Actions / 8.1 - prefer-stable

No error to ignore is reported on line 24.
);
}
}

0 comments on commit 1b9fa25

Please sign in to comment.