Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Review modification
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistedonaux committed Jul 7, 2017
1 parent 0a20d06 commit cd1634a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Faker/Provider/fr_FR/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ public function vat($spacedNationalPrefix = true)
{
$prefix = ($spacedNationalPrefix) ? "FR " : "FR";

$company = new Company($this->generator);

return sprintf("%s%s%s%s", $prefix, self::randomNumber(2, true), $company->siren($spacedNationalPrefix));
return sprintf("%s%s%s%s", $prefix, self::randomNumber(2, true), $this->siren($spacedNationalPrefix));
}

/**
Expand Down

0 comments on commit cd1634a

Please sign in to comment.