Skip to content

Commit be3af02

Browse files
committed
remove unused exception imports from README examples
1 parent 7c582c9 commit be3af02

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ $sdk = new Sdk($token);
3030
### Validate Email
3131

3232
```php
33-
use UseValidEmail\Sdk\Exceptions\AccessTokenException;
34-
use UseValidEmail\Sdk\Exceptions\ForbiddenException;
35-
use UseValidEmail\Sdk\Exceptions\UnauthorizedException;
36-
use GuzzleHttp\Exception\GuzzleException;
37-
3833
try {
3934
$email = 'example@example.com';
4035
$response = $sdk->emailValidator->validate($email);
@@ -47,12 +42,6 @@ try {
4742
### Using Helper Function
4843

4944
```php
50-
use GuzzleHttp\Exception\GuzzleException;
51-
use UseValidEmail\Sdk\Exceptions\AccessTokenException;
52-
use UseValidEmail\Sdk\Exceptions\ForbiddenException;
53-
use UseValidEmail\Sdk\Exceptions\UnauthorizedException;
54-
use UseValidEmail\Sdk\Responses\Validation\ValidationResponse;
55-
5645
try {
5746
$email = 'example@example.com';
5847
$response = validateEmail($email);

0 commit comments

Comments
 (0)