Skip to content

Commit 193ce86

Browse files
update README
1 parent 82cc177 commit 193ce86

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Install the library using [composer][1]. Add the following to your `composer.jso
1616
```json
1717
{
1818
"require": {
19-
"brazanation/documents": "0.1.*"
19+
"brazanation/documents": "0.3.*"
2020
}
2121
}
2222
```
@@ -30,7 +30,7 @@ $ composer.phar install
3030
or
3131

3232
```sh
33-
$ composer require brazanation/documents 0.1.*
33+
$ composer require brazanation/documents 0.3.*
3434
```
3535

3636
### CPF (cadastro de pessoas físicas)
@@ -93,9 +93,9 @@ use Brazanation\Documents\NFeAccessKey;
9393
use Brazanation\Documents\Exception\InvalidDocument as InvalidDocumentException;
9494

9595
try {
96-
$pispasep = new NFeAccessKey('52060433009911002506550120000007800267301615');
97-
echo $pispasep; // prints 52060433009911002506550120000007800267301615
98-
echo $pispasep->format(); // prints 5206 0433 0099 1100 2506 5501 2000 0007 8002 6730 1615
96+
$nfeKey = new NFeAccessKey('52060433009911002506550120000007800267301615');
97+
echo $nfeKey; // prints 52060433009911002506550120000007800267301615
98+
echo $nfeKey->format(); // prints 5206 0433 0099 1100 2506 5501 2000 0007 8002 6730 1615
9999
catch (InvalidDocumentException $e){
100100
echo $e->getMessage();
101101
}

0 commit comments

Comments
 (0)