Skip to content

Commit

Permalink
Rely on abstraction
Browse files Browse the repository at this point in the history
  • Loading branch information
cerbero90 committed Jan 15, 2024
1 parent 88bfd80 commit 5b5e4e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Paginations/Pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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,
) {}
}

0 comments on commit 5b5e4e6

Please sign in to comment.