feat/chapter-entity-image-storage #1

Merged
colgora merged 5 commits from feat/chapter-entity-image-storage into main 2026-03-09 19:25:22 +01:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit ff451855a7 - Show all commits

View File

@@ -39,7 +39,7 @@ readonly class GetMangaChaptersHandler
volume: $chapter->getVolume(),
isVisible: $chapter->isVisible(),
pagesDirectory: $chapter->getPagesDirectory(),
createdAt: $chapter->getCreatedAt()
createdAt: $chapter->getCreatedAt()->format(\DateTimeInterface::RFC3339)
),
$chapters
),

View File

@@ -11,6 +11,6 @@ readonly class ChapterResponse
public ?int $volume,
public bool $isVisible,
public ?string $pagesDirectory,
public \DateTimeImmutable $createdAt
public string $createdAt
) {}
}

View File

@@ -53,7 +53,7 @@ readonly class GetMangaChaptersStateProvider implements ProviderInterface
volume: $chapter->volume,
isVisible: $chapter->isVisible,
isAvailable: $chapter->pagesDirectory !== null,
createdAt: $chapter->createdAt->format(\DateTimeInterface::RFC3339)
createdAt: $chapter->createdAt
);
}
}