Skip to content
Closed

test #308

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/App/src/Pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

public function __construct(
private int $total,
private int $offset,
private int $offset = 0,
private int $limit,

Check failure on line 22 in src/App/src/Pagination.php

View workflow job for this annotation

GitHub Actions / PHPStan 8.2-ubuntu-latest

Deprecated in PHP 8.0: Required parameter $limit follows optional parameter $offset.

Check failure on line 22 in src/App/src/Pagination.php

View workflow job for this annotation

GitHub Actions / PHPStan 8.3-ubuntu-latest

Deprecated in PHP 8.0: Required parameter $limit follows optional parameter $offset.

Check failure on line 22 in src/App/src/Pagination.php

View workflow job for this annotation

GitHub Actions / ci / QA Checks (PHPCodeSniffer [8.2, latest], ubuntu-latest, laminas/laminas-continuous-integration-ac...

Arguments with default values must be at the end of the argument list

Check failure on line 22 in src/App/src/Pagination.php

View workflow job for this annotation

GitHub Actions / ci / QA Checks (PHPCodeSniffer [8.2, latest], ubuntu-latest, laminas/laminas-continuous-integration-ac...

Arguments with default values must be at the end of the argument list
) {
$this->range = 5;
$this->firstPage = 1;
Expand Down
Loading