mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 06:24:44 +02:00

* Use handle instead of toggle & use const isnstead of string * Avoid rollback if node is unreachable * Use Enum & remove default action * Remove useless test
10 lines
124 B
PHP
10 lines
124 B
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
enum SuspendAction: string
|
|
{
|
|
case Suspend = 'suspend';
|
|
case Unsuspend = 'unsuspend';
|
|
}
|