Upgrade to Laravel 9 (#4413)
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
This commit is contained in:
parent
95e15d2c8a
commit
cbcf62086f
573 changed files with 4387 additions and 9411 deletions
|
@ -3,6 +3,7 @@
|
|||
namespace Pterodactyl\Tests\Integration\Services\Servers;
|
||||
|
||||
use Mockery;
|
||||
use Mockery\MockInterface;
|
||||
use Pterodactyl\Models\Egg;
|
||||
use GuzzleHttp\Psr7\Request;
|
||||
use Pterodactyl\Models\Node;
|
||||
|
@ -24,8 +25,7 @@ class ServerCreationServiceTest extends IntegrationTestCase
|
|||
{
|
||||
use WithFaker;
|
||||
|
||||
/** @var \Mockery\MockInterface */
|
||||
protected $daemonServerRepository;
|
||||
protected MockInterface $daemonServerRepository;
|
||||
|
||||
protected Egg $bungeecord;
|
||||
|
||||
|
@ -208,10 +208,7 @@ class ServerCreationServiceTest extends IntegrationTestCase
|
|||
$this->assertDatabaseMissing('servers', ['owner_id' => $user->id]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Pterodactyl\Services\Servers\ServerCreationService
|
||||
*/
|
||||
private function getService()
|
||||
private function getService(): ServerCreationService
|
||||
{
|
||||
return $this->app->make(ServerCreationService::class);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue