Skip to content

Commit 18e4613

Browse files
authored
Merge pull request #450 from keboola/novakjiri-fix-phpstan
[internal-api] fix phpstan nullable match for limit
2 parents 9f5956c + 1a5203a commit 18e4613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ public function testClientGetJobsWithIds(): void
10051005
$offset = '';
10061006
}
10071007
preg_match('#limit=([0-9]+)#', $requestUri, $matches);
1008-
$params[] = ['offset' => $offset, 'limit' => $matches[1]];
1008+
$params[] = ['offset' => $offset, 'limit' => $matches[1] ?? ''];
10091009
}
10101010
self::assertEquals(
10111011
[

0 commit comments

Comments
 (0)