Skip to content

Commit ad84a65

Browse files
committed
Fix a param that was not supposed to be nullable
1 parent 9bd8e00 commit ad84a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/ResultPager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class ResultPager implements ResultPagerInterface
5959
*
6060
* @return void
6161
*/
62-
public function __construct(?Client $client, ?int $perPage = null)
62+
public function __construct(Client $client, ?int $perPage = null)
6363
{
6464
if (null !== $perPage && ($perPage < 1 || $perPage > 100)) {
6565
throw new ValueError(sprintf('%s::__construct(): Argument #2 ($perPage) must be between 1 and 100, or null', self::class));

0 commit comments

Comments
 (0)