Skip to content

Commit

Permalink
[Pagerfanta] Defined int range for SearchResult total count
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Dec 27, 2024
1 parent 0bb2141 commit a1ed98d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ public function __construct(array $properties = [])
/**
* The total number of Trash items.
*
* @var int
* @phpstan-var int<0, max>
*/
public $totalCount = 0;
public int $totalCount = 0;

/**
* The total number of Trash items.
Expand All @@ -44,7 +44,7 @@ public function __construct(array $properties = [])
*
* @var \Ibexa\Contracts\Core\Repository\Values\Content\TrashItem[]
*/
public $items = [];
public array $items = [];

public function getIterator(): Traversable
{
Expand Down

0 comments on commit a1ed98d

Please sign in to comment.