mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Merge branch 'main' into lance/pint-fixes
This commit is contained in:
@@ -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() ||
|
||||
|
||||
Reference in New Issue
Block a user