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

Improve README.me on pt_BR providers section #877

Merged
merged 2 commits into from
Apr 13, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,19 @@ echo $faker->name; // 'Sr. Luis Adriano Sepúlveda Filho'
echo $faker->cpf; // '145.343.345-76'
echo $faker->cpf(false); // '45623467866'
echo $faker->rg; // '84.405.736-3'
echo $faker->cnpj; // '23.663.478/0001-24'
```

### `Faker\Provider\pt_BR\Company`

```php
<?php

// Localized company name
echo $faker->company; // 'Colaço e Ramos'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to mention here the usual formatters - just the locale-specific ones.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed and improved the cnpj comment


// Valid document generators have a boolean argument to remove formatting
echo $faker->cnpj; // '23.663.478/0001-24'
echo $faker->cnpj(false); // '23663478000124'
```

### `Faker\Provider\ro_MD\Payment`
Expand Down