From 318f2ecc1f8587ad6ca62a9a31034cceef3903e2 Mon Sep 17 00:00:00 2001 From: Danny van Kooten Date: Mon, 9 Oct 2023 21:05:31 +0200 Subject: [PATCH] declare visibility on class constants --- src/Rates.php | 2 +- src/Vies/Client.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Rates.php b/src/Rates.php index 21923ea..8963bce 100644 --- a/src/Rates.php +++ b/src/Rates.php @@ -13,7 +13,7 @@ class Rates { - const RATE_STANDARD = 'standard'; + public const RATE_STANDARD = 'standard'; private $rates = []; diff --git a/src/Vies/Client.php b/src/Vies/Client.php index 7104eec..67134aa 100644 --- a/src/Vies/Client.php +++ b/src/Vies/Client.php @@ -12,7 +12,7 @@ class Client /** * @const string */ - const URL = 'https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl'; + private const URL = 'https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl'; /** * @var SoapClient