Skip to content

Commit

Permalink
Remove deprecated implicitly nullable argument
Browse files Browse the repository at this point in the history
  • Loading branch information
danon committed Jan 15, 2025
1 parent cf00fcb commit a8bbc37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function map(callable $mapper): DataProvider
return new MapProvider($this, $mapper);
}

public function slice(int $start, int $count = null): DataProvider
public function slice(int $start, ?int $count = null): DataProvider
{
return new SliceProvider($this, $start, $count);
}
Expand Down

0 comments on commit a8bbc37

Please sign in to comment.