Skip to content

Commit

Permalink
Fix documentation (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
joubertredrat authored and tonicospinelli committed Aug 17, 2018
1 parent ccc6db7 commit 0e95871
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -42,7 +42,7 @@ Registration of individuals or Tax Identification
use Brazanation\Documents\Cpf;

$document = Cpf::createFromString('06843273173');
if (false === $cpf) {
if (false === $document) {
echo "Not Valid";
}
echo $document; // prints 06843273173
Expand Down Expand Up @@ -91,8 +91,8 @@ $document = Cnh::createFromString('83592802666');
if (false === $document) {
echo "Not Valid";
}
echo $cnh; // prints 83592802666
echo $cnh->format(); // prints 83592802666
echo $document; // prints 83592802666
echo $document->format(); // prints 83592802666
```

### Chave de Acesso Sped (chave da NFe, CTe e MDFe)
Expand Down

0 comments on commit 0e95871

Please sign in to comment.