Skip to content

Commit a372d8e

Browse files
Fix parameter type
With V9 API version, cod_CAEN comes null instead of empty string for government companies (e.g.: 4331473)
1 parent 467a9d9 commit a372d8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Responses/Info/RetrieveResponseGeneralData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ private function __construct(
1818
public readonly string $document,
1919
public readonly string $registrationStatus,
2020
public readonly string $registrationDate,
21-
public readonly string $activityCode,
21+
public readonly ?string $activityCode,
2222
public readonly string $bankAccount,
2323
public readonly bool $roInvoiceStatus,
2424
public readonly string $authorityName,

0 commit comments

Comments
 (0)