54 - Fix Pint import issues in tests/Pest.php
Some checks failed
CI / ci-image (push) Has been cancelled
CI / ci (push) Has been cancelled

This commit is contained in:
myrmidex 2026-08-19 13:40:43 +02:00
parent 175290b707
commit cb2dbd9299

View file

@ -3,6 +3,7 @@
use App\Models\Planner; use App\Models\Planner;
use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Hash;
use Pest\Browser\Api\Webpage;
use Tests\BrowserTestCase; use Tests\BrowserTestCase;
use Tests\TestCase; use Tests\TestCase;
@ -26,7 +27,7 @@ function createPlanner(?string $email = null): Planner
/** /**
* Log in as the given planner and navigate to the target page. * Log in as the given planner and navigate to the target page.
* *
* @return \Pest\Browser\Api\Webpage * @return Webpage
*/ */
function loginAs(Planner $planner, string $page = '/dashboard') function loginAs(Planner $planner, string $page = '/dashboard')
{ {
@ -39,7 +40,7 @@ function loginAs(Planner $planner, string $page = '/dashboard')
} }
/** /**
* @return \Pest\Browser\Api\Webpage * @return Webpage
*/ */
function loginAndGoToDishes() function loginAndGoToDishes()
{ {
@ -47,7 +48,7 @@ function loginAndGoToDishes()
} }
/** /**
* @return \Pest\Browser\Api\Webpage * @return Webpage
*/ */
function loginAndGoToUsers() function loginAndGoToUsers()
{ {
@ -55,7 +56,7 @@ function loginAndGoToUsers()
} }
/** /**
* @return \Pest\Browser\Api\Webpage * @return Webpage
*/ */
function loginAndGoToSchedule() function loginAndGoToSchedule()
{ {