From 07769caeaea452428ad3b93fe763d499ebb33df5 Mon Sep 17 00:00:00 2001 From: ziming Date: Sun, 8 Dec 2024 08:20:22 +0000 Subject: [PATCH] Fix styling --- src/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers.php b/src/helpers.php index 03ea29c..066f47f 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -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);