mirror of
https://github.com/sitelease/sugar-cube-client.git
synced 2025-11-02 04:52:30 +01:00
Code formatting
This commit is contained in:
@ -3,34 +3,22 @@ namespace Gitea\Models;
|
||||
|
||||
use Enum\{EnumTrait};
|
||||
|
||||
/**
|
||||
* Defines the state of a Gitea status.
|
||||
*/
|
||||
/** Defines the state of a Gitea status. */
|
||||
final class StatusState {
|
||||
use EnumTrait;
|
||||
|
||||
/**
|
||||
* @var string The status is an error.
|
||||
*/
|
||||
/** @var string The status is an error. */
|
||||
const ERROR = 'error';
|
||||
|
||||
/**
|
||||
* @var string The status is a failure.
|
||||
*/
|
||||
/** @var string The status is a failure. */
|
||||
const FAILURE = 'failure';
|
||||
|
||||
/**
|
||||
* @var string The status is pending.
|
||||
*/
|
||||
/** @var string The status is pending. */
|
||||
const PENDING = 'pending';
|
||||
|
||||
/**
|
||||
* @var string The status is a success.
|
||||
*/
|
||||
/** @var string The status is a success. */
|
||||
const SUCCESS = 'success';
|
||||
|
||||
/**
|
||||
* @var string The status is a warning.
|
||||
*/
|
||||
/** @var string The status is a warning. */
|
||||
const WARNING = 'warning';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user