style: apply php-cs-fixer formatting (PSR-12)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
dae215dd3d
commit
7506a7a3c1
@@ -14,7 +14,8 @@ readonly class CheckMonitoredMangasHandler
|
||||
public function __construct(
|
||||
private MangaRepositoryInterface $mangaRepository,
|
||||
private MessageBusInterface $commandBus
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function handle(CheckMonitoredMangas $command): void
|
||||
{
|
||||
|
||||
@@ -20,7 +20,8 @@ readonly class CreateMangaFromMangadexHandler
|
||||
private MangaRepositoryInterface $mangaRepository,
|
||||
private ImageProcessorInterface $imageProcessor,
|
||||
private EventDispatcherInterface $eventDispatcher
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function handle(CreateMangaFromMangadex $command): void
|
||||
{
|
||||
|
||||
@@ -21,7 +21,8 @@ readonly class CreateMangaHandler
|
||||
private MangaRepositoryInterface $mangaRepository,
|
||||
private ImageProcessorInterface $imageProcessor,
|
||||
private MessageBusInterface $messageBus
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function handle(CreateManga $command): void
|
||||
{
|
||||
|
||||
@@ -17,7 +17,8 @@ readonly class DeleteCbzHandler implements CommandHandlerInterface
|
||||
public function __construct(
|
||||
private ChapterRepositoryInterface $chapterRepository,
|
||||
private FileServiceInterface $fileService
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function handle(CommandInterface $command): void
|
||||
{
|
||||
|
||||
@@ -14,7 +14,8 @@ readonly class DeleteChapterHandler implements CommandHandlerInterface
|
||||
{
|
||||
public function __construct(
|
||||
private ChapterRepositoryInterface $chapterRepository
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function handle(CommandInterface $command): void
|
||||
{
|
||||
|
||||
@@ -12,7 +12,8 @@ readonly class DeleteMangaHandler implements CommandHandlerInterface
|
||||
{
|
||||
public function __construct(
|
||||
private MangaRepositoryInterface $mangaRepository
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function handle(CommandInterface $command): void
|
||||
{
|
||||
|
||||
@@ -11,7 +11,8 @@ readonly class EditMangaHandler
|
||||
{
|
||||
public function __construct(
|
||||
private MangaRepositoryInterface $mangaRepository
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function handle(EditManga $command): void
|
||||
{
|
||||
|
||||
@@ -10,7 +10,8 @@ readonly class EditMultipleChaptersHandler
|
||||
{
|
||||
public function __construct(
|
||||
private ChapterRepositoryInterface $chapterRepository
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function handle(EditMultipleChapters $command): void
|
||||
{
|
||||
|
||||
@@ -13,7 +13,8 @@ readonly class FetchMangaChaptersHandler
|
||||
public function __construct(
|
||||
private MangaRepositoryInterface $mangaRepository,
|
||||
private ChapterSynchronizationServiceInterface $chapterSynchronizationService
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function handle(FetchMangaChapters $command): void
|
||||
{
|
||||
@@ -23,7 +24,7 @@ readonly class FetchMangaChaptersHandler
|
||||
throw new MangaNotFoundException();
|
||||
}
|
||||
|
||||
if($manga->getExternalId() === null){
|
||||
if ($manga->getExternalId() === null) {
|
||||
throw new MangadexApiException("Manga has no external_id");
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,8 @@ readonly class ImportChapterHandler
|
||||
private MangaRepositoryInterface $mangaRepository,
|
||||
private ChapterRepositoryInterface $chapterRepository,
|
||||
private MangaPathManagerInterface $pathManager
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function handle(ImportChapter $command): void
|
||||
{
|
||||
|
||||
@@ -16,7 +16,8 @@ readonly class ImportVolumeHandler
|
||||
private MangaRepositoryInterface $mangaRepository,
|
||||
private ChapterRepositoryInterface $chapterRepository,
|
||||
private MangaPathManagerInterface $pathManager
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function handle(ImportVolume $command): void
|
||||
{
|
||||
@@ -93,7 +94,3 @@ readonly class ImportVolumeHandler
|
||||
return $cbzPath;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -16,7 +16,8 @@ readonly class RefreshMangaChaptersHandler
|
||||
private MangaRepositoryInterface $mangaRepository,
|
||||
private ChapterSynchronizationServiceInterface $chapterSynchronizationService,
|
||||
private MessageBusInterface $eventBus
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function handle(RefreshMangaChapters $command): void
|
||||
{
|
||||
|
||||
@@ -10,7 +10,8 @@ readonly class ToggleMangaMonitoringHandler
|
||||
{
|
||||
public function __construct(
|
||||
private MangaRepositoryInterface $mangaRepository
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function handle(ToggleMangaMonitoring $command): void
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user