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
@@ -9,7 +9,8 @@ readonly class ChapterListResponse
|
||||
public int $total,
|
||||
public int $page,
|
||||
public int $limit
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function getTotalPages(): int
|
||||
{
|
||||
@@ -25,4 +26,4 @@ readonly class ChapterListResponse
|
||||
{
|
||||
return $this->page > 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,5 +12,6 @@ readonly class ChapterResponse
|
||||
public bool $isVisible,
|
||||
public ?string $cbzPath,
|
||||
public \DateTimeImmutable $createdAt
|
||||
) {}
|
||||
}
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,5 +9,6 @@ readonly class DownloadResponse implements ResponseInterface
|
||||
{
|
||||
public function __construct(
|
||||
public Response $httpResponse
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,8 @@ readonly class MangaListResponse
|
||||
public int $total,
|
||||
public int $page,
|
||||
public int $limit
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function getTotalPages(): int
|
||||
{
|
||||
@@ -25,4 +26,4 @@ readonly class MangaListResponse
|
||||
{
|
||||
return $this->page > 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,4 +18,3 @@ readonly class MangaMatchItem
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -27,4 +27,3 @@ readonly class MangaMatchResponse
|
||||
return $this->matches[0] ?? null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -19,5 +19,6 @@ readonly class MangaResponse
|
||||
public ?string $thumbnailUrl,
|
||||
public ?float $rating,
|
||||
public bool $monitored
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,5 +17,6 @@ readonly class MangaSearchItem
|
||||
public ?string $imageUrl,
|
||||
public ?string $thumbnailUrl,
|
||||
public ?float $rating
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,4 +14,4 @@ readonly class MangaSearchResponse
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,8 @@ readonly class SearchLocalMangaResponse
|
||||
public int $total,
|
||||
public int $page,
|
||||
public int $limit
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function hasNextPage(): bool
|
||||
{
|
||||
@@ -23,4 +24,4 @@ readonly class SearchLocalMangaResponse
|
||||
{
|
||||
return $this->page > 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user