diff --git a/app/GraphQL/Schema/Types/Wiki/StudioType.php b/app/GraphQL/Schema/Types/Wiki/StudioType.php index 7f10696ee..26bfc9657 100644 --- a/app/GraphQL/Schema/Types/Wiki/StudioType.php +++ b/app/GraphQL/Schema/Types/Wiki/StudioType.php @@ -5,6 +5,7 @@ declare(strict_types=1); namespace App\GraphQL\Schema\Types\Wiki; use App\Enums\GraphQL\Sort\Pivot\ImageableSort; +use App\Enums\GraphQL\Sort\Wiki\StudioSort; use App\GraphQL\Schema\Fields\Base\CreatedAtField; use App\GraphQL\Schema\Fields\Base\DeletedAtField; use App\GraphQL\Schema\Fields\Base\IdUnbindableField; @@ -27,6 +28,14 @@ class StudioType extends EloquentType return "Represents a company that produces anime.\n\nFor example, Shaft is the studio that produced the anime Bakemonogatari."; } + /** + * @return class-string + */ + public function getEnumSortClass(): string + { + return StudioSort::class; + } + /** * The fields of the type. *