diff --git a/src/Vat/Provider/Europa.php b/src/Vat/Provider/Europa.php index 19c1a97..3089f05 100644 --- a/src/Vat/Provider/Europa.php +++ b/src/Vat/Provider/Europa.php @@ -1,7 +1,7 @@ - * @copyright (c) 2017-2022, Pierre-Henry Soria. All Rights Reserved. + * @author Pierre-Henry Soria + * @copyright (c) 2017-2024, Pierre-Henry Soria. All Rights Reserved. * @license GNU General Public License; */ @@ -16,7 +16,7 @@ class Europa implements Providable { - public const EU_VAT_API = 'https://ec.europa.eu'; + public const EU_VAT_API_URL = 'https://ec.europa.eu'; public const EU_VAT_WSDL_ENDPOINT = '/taxation_customs/vies/checkVatService.wsdl'; private const IMPOSSIBLE_CONNECT_API_MESSAGE = 'Impossible to connect to the Europa SOAP: %s'; @@ -45,7 +45,7 @@ public function __construct() public function getApiUrl(): string { - return static::EU_VAT_API . static::EU_VAT_WSDL_ENDPOINT; + return static::EU_VAT_API_URL . static::EU_VAT_WSDL_ENDPOINT; } /**