Skip to content

Commit

Permalink
Update src/Faker/Provider/es_PE/Company.php
Browse files Browse the repository at this point in the history
Co-authored-by: Bram Ceulemans <bramceulemans@me.com>
  • Loading branch information
Oxicode and Bram Ceulemans committed Jan 6, 2021
1 parent 83beab5 commit f0f35c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Faker/Provider/es_PE/Company.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function bs()
*/
public static function ruc(bool $isNaturalPerson = false): string
{
$prefix = $isNaturalPerson ? 10 : 20;
$prefix = $isNaturalPerson ? '10' : '20';

return $prefix . static::numerify('#########');
}
Expand Down

0 comments on commit f0f35c3

Please sign in to comment.