From d306db68e35a96b0f20759dbbf90705c40aff5b9 Mon Sep 17 00:00:00 2001 From: Patrick Hesselberg Date: Thu, 2 May 2024 09:50:27 +0200 Subject: [PATCH] Use $guard instead of $driver for parameter To reflect naming from TestCase --- src/Authentication.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Authentication.php b/src/Authentication.php index aa4166f..69423f3 100644 --- a/src/Authentication.php +++ b/src/Authentication.php @@ -12,7 +12,7 @@ * * @return TestCase */ -function actingAs(Authenticatable $user, ?string $driver = null) +function actingAs(Authenticatable $user, ?string $guard = null) { return test()->actingAs(...func_get_args()); } @@ -22,7 +22,7 @@ function actingAs(Authenticatable $user, ?string $driver = null) * * @return TestCase */ -function be(Authenticatable $user, ?string $driver = null) +function be(Authenticatable $user, ?string $guard = null) { return test()->be(...func_get_args()); }