Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ciungulete committed Jul 31, 2024
1 parent 2f73003 commit 6740744
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Binary file modified art/social.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/Resources/Efactura.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public function upload(string $xml_path, string $tax_identification_number, Uplo
$response = $this->transporter->requestObject($payload);

if (! array_key_exists('@attributes', $response)) {
/** @var array{message: string} $response */
throw new RuntimeException($response['message']);
}

Expand Down
2 changes: 0 additions & 2 deletions tests/Transporters/HttpTransporterObject.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php

use Anaf\Enums\Transporter\ContentType;
use Anaf\Exceptions\TaxIdentificationNumberNotFoundException;
use Anaf\Exceptions\TransporterException;
use Anaf\Exceptions\UnserializableResponse;
use Anaf\Transporters\HttpTransporter;
Expand Down Expand Up @@ -112,7 +111,6 @@
);
});


test('request object client errors', function () {
$payload = Payload::create('PlatitorTvaRest/api/v8/ws/tva', []);

Expand Down

0 comments on commit 6740744

Please sign in to comment.