Skip to content

Commit

Permalink
Fix a param that was not supposed to be nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm committed Sep 23, 2024
1 parent 9bd8e00 commit ad84a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Github/ResultPager.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class ResultPager implements ResultPagerInterface
*
* @return void
*/
public function __construct(?Client $client, ?int $perPage = null)
public function __construct(Client $client, ?int $perPage = null)
{
if (null !== $perPage && ($perPage < 1 || $perPage > 100)) {
throw new ValueError(sprintf('%s::__construct(): Argument #2 ($perPage) must be between 1 and 100, or null', self::class));
Expand Down

0 comments on commit ad84a65

Please sign in to comment.