Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ciungulete committed Jan 20, 2024
1 parent 1f5695c commit 3165b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/Info.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function create(array $parameters): CreateResponse|CreateResponses
*/
$response = $this->transporter->requestObject($payload);

if (count($response['found']) === 0) {
if ($response['found'] === []) {
throw new TaxIdentificationNumberNotFoundException();
}

Expand Down

0 comments on commit 3165b07

Please sign in to comment.