Merge branch 'main' into lance/pint-fixes

This commit is contained in:
Lance Pioch
2024-10-20 11:53:10 -04:00
committed by GitHub
78 changed files with 274 additions and 190 deletions

View File

@@ -367,7 +367,7 @@ class Server extends Model
*
* @throws ServerStateConflictException
*/
public function validateCurrentState()
public function validateCurrentState(): void
{
if (
$this->isSuspended() ||
@@ -386,7 +386,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() ||