File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/Mpociot/VatCalculator/Traits Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,6 @@ public function asIndividual()
74
74
*/
75
75
public function getTaxPercent ()
76
76
{
77
- return ( VatCalculator::getTaxRateForCountry ($ this ->userCountryCode , $ this ->userIsCompany ) * 100 ) ;
77
+ return VatCalculator::getTaxRateForCountry ($ this ->userCountryCode , $ this ->userIsCompany ) * 100 ;
78
78
}
79
79
}
Original file line number Diff line number Diff line change @@ -178,7 +178,6 @@ public function testCalculatVatWithCountryPreviousSet()
178
178
->with ('vat_calculator.business_country_code ' )
179
179
->andReturn (false );
180
180
181
-
182
181
$ vatCalculator = new VatCalculator ($ config );
183
182
$ vatCalculator ->setCountryCode ($ countryCode );
184
183
@@ -428,7 +427,7 @@ public function testCompanyInBusinessCountryGetsValidVATRate()
428
427
429
428
$ config ->shouldReceive ('get ' )
430
429
->once ()
431
- ->with ('vat_calculator.business_country_code ' ,'' )
430
+ ->with ('vat_calculator.business_country_code ' , '' )
432
431
->andReturn ($ countryCode );
433
432
434
433
$ vatCalculator = new VatCalculator ($ config );
You can’t perform that action at this time.
0 commit comments