Skip to content

Commit 5fb5d7f

Browse files
committed
Fix docblock
1 parent 583b59b commit 5fb5d7f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/NederlandPostcodeClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
/**
1616
* @method AddressesResource addresses()
1717
* @method QuotaResource quota()
18-
* @method AddressCollection<Address> list(string $postcode, ?int $number = null, ?string $addition = null, array<int|string, string|AddressAttributesEnum> $attributes = [])
18+
* @method AddressCollection<Address> list(string $postcode, int $number, ?string $addition = null, array<int|string, string|AddressAttributesEnum> $attributes = [])
1919
* @method Address find(string $postcode, int $number, ?string $addition = null, array<int|string, string|AddressAttributesEnum> $attributes = [])
2020
* @method Quota usage()
2121
*/

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function mockNederlandPostcodeClient(): void
2828
{
2929
$mockAddresses = $this->createStub(AddressesResource::class);
3030
$mockAddresses->method('get')
31-
->willReturnCallback(function (string $postcode, ?int $number, ?array $addition, $attributes = []) {
31+
->willReturnCallback(function (string $postcode, int $number, ?array $addition, $attributes = []) {
3232
return match (true) {
3333
$postcode === '1118BN' && $number === 800 => $this->singleAddressResponse(),
3434
$postcode === '1015CN' && $number === 10 => $this->multipleAddressesResponse(),

0 commit comments

Comments
 (0)