diff --git a/src/contracts/Repository/Values/Content/Trash/SearchResult.php b/src/contracts/Repository/Values/Content/Trash/SearchResult.php index 26586ff933..5b1b595440 100644 --- a/src/contracts/Repository/Values/Content/Trash/SearchResult.php +++ b/src/contracts/Repository/Values/Content/Trash/SearchResult.php @@ -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. @@ -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 {