diff --git a/Controller/ApiBillController.php b/Controller/ApiBillController.php index 75fc0c4..29b6816 100755 --- a/Controller/ApiBillController.php +++ b/Controller/ApiBillController.php @@ -916,7 +916,7 @@ final class ApiBillController extends Controller /** * Api method to create a bill element * - * @param RequestAbstract $request Request + * @param HttpRequest $request Request * @param ResponseAbstract $response Response * @param array $data Generic data * diff --git a/Controller/ApiTaxController.php b/Controller/ApiTaxController.php index 7a34976..a8ae470 100755 --- a/Controller/ApiTaxController.php +++ b/Controller/ApiTaxController.php @@ -106,9 +106,9 @@ final class ApiTaxController extends Controller $account->mainAddress->setCountry($defaultCountry); } - $taxCodeAttribute = $client !== null - ? $this->getClientTaxCode($account, $unit->mainAddress) - : $this->getSupplierTaxCode($account, $unit->mainAddress); + $taxCodeAttribute = $client !== null /* @phpstan-ignore-line */ + ? $this->getClientTaxCode($account, $unit->mainAddress) /* @phpstan-ignore-line */ + : $this->getSupplierTaxCode($account, $unit->mainAddress); /* @phpstan-ignore-line */ return TaxCombinationMapper::get() ->with('taxCode')