Skip to content

Commit 9d18b2c

Browse files
committed
update readme
1 parent a1f81e6 commit 9d18b2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ One day I will add other crypto currencies. Or how about you? :)
77

88

99
```php
10-
use Merkeleon\PhpCryptocurrencyAddressValidation\Validation\BTC as BTCValidator;
10+
use Merkeleon\PhpCryptocurrencyAddressValidation\Validation;
1111

12-
$validator = new BTCValidator('1QLbGuc3WGKKKpLs4pBp9H6jiQ2MgPkXRp');
13-
var_dump($validator->validate());
12+
$validator = Validation::make('BTC');
13+
var_dump($validator->validate('1QLbGuc3WGKKKpLs4pBp9H6jiQ2MgPkXRp'));
1414

1515
```

0 commit comments

Comments
 (0)