mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
- anime schedules - validation and corrections - refactorings around "augmentResponse" - macro usage instead
26 lines
479 B
PHP
26 lines
479 B
PHP
<?php
|
|
|
|
namespace App\Features;
|
|
|
|
use App\Dto\QueryMangaReviewsCommand;
|
|
use App\Enums\ReviewTypeEnum;
|
|
|
|
/**
|
|
* @extends QueryReviewsHandler<QueryMangaReviewsCommand>
|
|
*/
|
|
final class QueryMangaReviewsHandler extends QueryReviewsHandler
|
|
{
|
|
protected function reviewType(): ReviewTypeEnum
|
|
{
|
|
return ReviewTypeEnum::manga();
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function requestClass(): string
|
|
{
|
|
return QueryMangaReviewsCommand::class;
|
|
}
|
|
}
|