Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ziming authored and github-actions[bot] committed Dec 8, 2024
1 parent b430f2f commit 07769ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Ziming\LaravelStatsig\Facades\LaravelStatsig;

if (! function_exists('statsig_check_gate')) {
function statsig_check_gate(string $gateName, string|StatsigUser|Authenticatable $userOrUserId = null): bool
function statsig_check_gate(string $gateName, string|StatsigUser|Authenticatable|null $userOrUserId = null): bool
{
if ($userOrUserId === null) {
return LaravelStatsig::checkGate(Auth::user(), $gateName);
Expand Down

0 comments on commit 07769ca

Please sign in to comment.