Skip to content

Commit 0e95871

Browse files
joubertredrattonicospinelli
authored andcommitted
Fix documentation (#43)
1 parent ccc6db7 commit 0e95871

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Registration of individuals or Tax Identification
4242
use Brazanation\Documents\Cpf;
4343

4444
$document = Cpf::createFromString('06843273173');
45-
if (false === $cpf) {
45+
if (false === $document) {
4646
echo "Not Valid";
4747
}
4848
echo $document; // prints 06843273173
@@ -91,8 +91,8 @@ $document = Cnh::createFromString('83592802666');
9191
if (false === $document) {
9292
echo "Not Valid";
9393
}
94-
echo $cnh; // prints 83592802666
95-
echo $cnh->format(); // prints 83592802666
94+
echo $document; // prints 83592802666
95+
echo $document->format(); // prints 83592802666
9696
```
9797

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

0 commit comments

Comments
 (0)