Skip to content

Commit df23053

Browse files
authored
Merge pull request spatie#336 from telkins/patch-6
Removing typehint for compatibility
2 parents ae44dd1 + 660b857 commit df23053

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Models/Concerns/UsesLandlordConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ trait UsesLandlordConnection
88
{
99
use UsesMultitenancyConfig;
1010

11-
public function getConnectionName(): string
11+
public function getConnectionName()
1212
{
1313
return $this->landlordDatabaseConnectionName();
1414
}

src/Models/Concerns/UsesTenantConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ trait UsesTenantConnection
88
{
99
use UsesMultitenancyConfig;
1010

11-
public function getConnectionName(): string
11+
public function getConnectionName()
1212
{
1313
return $this->tenantDatabaseConnectionName();
1414
}

0 commit comments

Comments
 (0)