diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 4a70b9c6fc90..4306039b34b8 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -16,8 +16,8 @@ jobs: operating-system: ['ubuntu-20.04', 'ubuntu-22.04'] php-versions: ['8.1','8.2'] phpunit-versions: ['latest'] - ci_node_total: [ 6 ] - ci_node_index: [ 0, 1, 2, 3, 4, 5] + ci_node_total: [ 8 ] + ci_node_index: [ 0, 1, 2, 3, 4, 5, 6, 7] laravel: [9.*] dependency-version: [prefer-stable] diff --git a/app/Services/Tax/TaxService.php b/app/Services/Tax/TaxService.php index 354681502bb7..38ab4dcbea40 100644 --- a/app/Services/Tax/TaxService.php +++ b/app/Services/Tax/TaxService.php @@ -19,11 +19,11 @@ use App\Services\Tax\Providers\ZipTax; class TaxService { - public function __construct(protected Company $company, protected Client $client) + public function __construct(public Client $client) { } - private function validateVat(): self + public function validateVat(): self { $client_country_code = $this->client->shipping_country ? $this->client->shipping_country->iso_3166_2 : $this->client->country->iso_3166_2;