Apply code style

This commit is contained in:
Shift
2023-05-24 21:36:42 +00:00
parent 41147b26f2
commit c6c639afc2
7 changed files with 38 additions and 32 deletions

View File

@@ -8,7 +8,7 @@ class Enum
{
/**
* Message list
*
*
* @var array<string<static>>
*/
public static $messages = [];
@@ -57,12 +57,12 @@ class Enum
/**
* Returns a message from the enum subclass
*
*
* @return string
*/
public static function getMessage(int $messageIndex, string $defaultMessage = 'Unknown'): string
{
if(array_key_exists($messageIndex, self::$messages) === true) {
if (array_key_exists($messageIndex, self::$messages) === true) {
return self::$messages[$messageIndex];
}