Increase parallel tests

This commit is contained in:
David Bomba 2023-05-08 19:28:31 +10:00
parent c0677dfb1d
commit 2e091abdc0
2 changed files with 4 additions and 4 deletions

View File

@ -16,8 +16,8 @@ jobs:
operating-system: ['ubuntu-20.04', 'ubuntu-22.04'] operating-system: ['ubuntu-20.04', 'ubuntu-22.04']
php-versions: ['8.1','8.2'] php-versions: ['8.1','8.2']
phpunit-versions: ['latest'] phpunit-versions: ['latest']
ci_node_total: [ 6 ] ci_node_total: [ 8 ]
ci_node_index: [ 0, 1, 2, 3, 4, 5] ci_node_index: [ 0, 1, 2, 3, 4, 5, 6, 7]
laravel: [9.*] laravel: [9.*]
dependency-version: [prefer-stable] dependency-version: [prefer-stable]

View File

@ -19,11 +19,11 @@ use App\Services\Tax\Providers\ZipTax;
class TaxService 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; $client_country_code = $this->client->shipping_country ? $this->client->shipping_country->iso_3166_2 : $this->client->country->iso_3166_2;