Enforce return and parameter types

This commit is contained in:
Lance Pioch
2024-10-19 21:00:11 -04:00
parent 8740f0f645
commit c7a307af6e
61 changed files with 143 additions and 124 deletions

View File

@@ -363,7 +363,7 @@ class Server extends Model
*
* @throws ServerStateConflictException
*/
public function validateCurrentState()
public function validateCurrentState(): void
{
if (
$this->isSuspended() ||
@@ -382,7 +382,7 @@ class Server extends Model
* sure the server can be transferred and is not currently being transferred
* or installed.
*/
public function validateTransferState()
public function validateTransferState(): void
{
if (
!$this->isInstalled() ||