style: apply php-cs-fixer formatting (PSR-12)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2026-03-09 20:46:59 +01:00
parent dae215dd3d
commit 7506a7a3c1
234 changed files with 447 additions and 370 deletions

View File

@@ -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;
}
}
}

View File

@@ -12,5 +12,6 @@ readonly class ChapterResponse
public bool $isVisible,
public ?string $cbzPath,
public \DateTimeImmutable $createdAt
) {}
}
) {
}
}

View File

@@ -9,5 +9,6 @@ readonly class DownloadResponse implements ResponseInterface
{
public function __construct(
public Response $httpResponse
) {}
) {
}
}

View File

@@ -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;
}
}
}

View File

@@ -18,4 +18,3 @@ readonly class MangaMatchItem
) {
}
}

View File

@@ -27,4 +27,3 @@ readonly class MangaMatchResponse
return $this->matches[0] ?? null;
}
}

View File

@@ -19,5 +19,6 @@ readonly class MangaResponse
public ?string $thumbnailUrl,
public ?float $rating,
public bool $monitored
) {}
) {
}
}

View File

@@ -17,5 +17,6 @@ readonly class MangaSearchItem
public ?string $imageUrl,
public ?string $thumbnailUrl,
public ?float $rating
) {}
) {
}
}

View File

@@ -14,4 +14,4 @@ readonly class MangaSearchResponse
{
$this->items = $items;
}
}
}

View File

@@ -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;
}
}
}