Upgrade to Laravel 9 (#4413)

Co-authored-by: DaneEveritt <dane@daneeveritt.com>
This commit is contained in:
Matthew Penner 2022-10-14 10:59:20 -06:00 committed by GitHub
parent 95e15d2c8a
commit cbcf62086f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
573 changed files with 4387 additions and 9411 deletions

View file

@ -1,11 +1,4 @@
<?php
/**
* Pterodactyl - Panel
* Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com>.
*
* This software is licensed under the terms of the MIT license.
* https://opensource.org/licenses/MIT
*/
namespace Pterodactyl\Observers;
@ -20,7 +13,7 @@ class ServerObserver
/**
* Listen to the Server creating event.
*/
public function creating(Server $server)
public function creating(Server $server): void
{
event(new Events\Server\Creating($server));
}
@ -28,7 +21,7 @@ class ServerObserver
/**
* Listen to the Server created event.
*/
public function created(Server $server)
public function created(Server $server): void
{
event(new Events\Server\Created($server));
}
@ -36,7 +29,7 @@ class ServerObserver
/**
* Listen to the Server deleting event.
*/
public function deleting(Server $server)
public function deleting(Server $server): void
{
event(new Events\Server\Deleting($server));
}
@ -44,7 +37,7 @@ class ServerObserver
/**
* Listen to the Server deleted event.
*/
public function deleted(Server $server)
public function deleted(Server $server): void
{
event(new Events\Server\Deleted($server));
}
@ -52,7 +45,7 @@ class ServerObserver
/**
* Listen to the Server saving event.
*/
public function saving(Server $server)
public function saving(Server $server): void
{
event(new Events\Server\Saving($server));
}
@ -60,7 +53,7 @@ class ServerObserver
/**
* Listen to the Server saved event.
*/
public function saved(Server $server)
public function saved(Server $server): void
{
event(new Events\Server\Saved($server));
}
@ -68,7 +61,7 @@ class ServerObserver
/**
* Listen to the Server updating event.
*/
public function updating(Server $server)
public function updating(Server $server): void
{
event(new Events\Server\Updating($server));
}
@ -76,7 +69,7 @@ class ServerObserver
/**
* Listen to the Server saved event.
*/
public function updated(Server $server)
public function updated(Server $server): void
{
event(new Events\Server\Updated($server));
}