mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-03 03:38:52 +00:00
Update User model and fix role stacking
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum QueueType: int
|
||||
{
|
||||
case NONE = 0;
|
||||
case SABNZBD = 1;
|
||||
case NZBGET = 2;
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::NONE => 'None',
|
||||
self::SABNZBD => 'SABnzbd',
|
||||
self::NZBGET => 'NZBGet',
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user