fixed media type enums

This commit is contained in:
pushrbx 2024-01-23 17:33:35 +00:00 committed by GitHub
parent 5d46bc8220
commit 31b7a1312e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -11,6 +11,9 @@ use Spatie\Enum\Laravel\Enum;
* @method static self special()
* @method static self ona()
* @method static self music()
* @method static self cm()
* @method static self pv()
* @method static self tv_special()
*
* @OA\Schema(
* schema="anime_search_query_type",

View File

@ -17,7 +17,7 @@ use Spatie\Enum\Laravel\Enum;
* schema="manga_search_query_type",
* description="Available Manga types",
* type="string",
* enum={"manga","novel", "lightnovel", "oneshot","doujin","manhwa","manhua","one-shot"}
* enum={"manga","novel", "lightnovel", "oneshot","doujin","manhwa","manhua"}
* )
*/
final class MangaTypeEnum extends Enum
@ -31,8 +31,7 @@ final class MangaTypeEnum extends Enum
'oneshot' => 'One-shot',
'doujin' => 'Doujinshi',
'manhwa' => 'Manhwa',
'manhua' => 'Manhua',
'one-shot' => 'One-shot'
'manhua' => 'Manhua'
];
}
}