Skip to content

Commit 1a5203a

Browse files
author
Jiří Novák
committed
[internal-api] fix phpstan nullable match for limit
1 parent 9f5956c commit 1a5203a

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)