diff --git a/src/Paginations/Pagination.php b/src/Paginations/Pagination.php index b66424a..b785968 100644 --- a/src/Paginations/Pagination.php +++ b/src/Paginations/Pagination.php @@ -5,7 +5,7 @@ namespace Cerbero\LazyJsonPages\Paginations; use Cerbero\LazyJsonPages\Dtos\Config; -use Cerbero\LazyJsonPages\Sources\AnySource; +use Cerbero\LazyJsonPages\Sources\Source; use IteratorAggregate; use Traversable; @@ -29,7 +29,7 @@ abstract public function matches(): bool; abstract public function getIterator(): Traversable; final public function __construct( - protected readonly AnySource $source, + protected readonly Source $source, protected readonly Config $config, ) {} }