Add PHP type hints for Laravel 10

This commit is contained in:
Shift
2023-02-19 16:19:46 +00:00
committed by HolgerHatGarKeineNode
parent ad55c69b51
commit 98a430c91c
192 changed files with 563 additions and 550 deletions

View File

@@ -10,7 +10,7 @@ class PasswordConfirmationTest extends TestCase
{
use RefreshDatabase;
public function test_confirm_password_screen_can_be_rendered()
public function test_confirm_password_screen_can_be_rendered(): void
{
$user = User::factory()->withPersonalTeam()->create();
@@ -19,7 +19,7 @@ class PasswordConfirmationTest extends TestCase
$response->assertStatus(200);
}
public function test_password_can_be_confirmed()
public function test_password_can_be_confirmed(): void
{
$user = User::factory()->create();
@@ -31,7 +31,7 @@ class PasswordConfirmationTest extends TestCase
$response->assertSessionHasNoErrors();
}
public function test_password_is_not_confirmed_with_invalid_password()
public function test_password_is_not_confirmed_with_invalid_password(): void
{
$user = User::factory()->create();