diff --git a/src/Resources/Info.php b/src/Resources/Info.php index a0091cd..37a8b9a 100644 --- a/src/Resources/Info.php +++ b/src/Resources/Info.php @@ -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(); }