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

@@ -15,7 +15,7 @@ class InviteTeamMemberTest extends TestCase
{
use RefreshDatabase;
public function test_team_members_can_be_invited_to_team()
public function test_team_members_can_be_invited_to_team(): void
{
if (! Features::sendsTeamInvitations()) {
return $this->markTestSkipped('Team invitations not enabled.');
@@ -36,7 +36,7 @@ class InviteTeamMemberTest extends TestCase
$this->assertCount(1, $user->currentTeam->fresh()->teamInvitations);
}
public function test_team_member_invitations_can_be_cancelled()
public function test_team_member_invitations_can_be_cancelled(): void
{
if (! Features::sendsTeamInvitations()) {
return $this->markTestSkipped('Team invitations not enabled.');