Skip to content

Commit 40fb97c

Browse files
Update EmailValidation.php
1 parent 815bdd0 commit 40fb97c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/EmailValidation.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ class EmailValidation {
88
private $freeEmailApiUrl = 'https://api.mailboxvalidator.com/v1/email/free';
99

1010
public function __construct($key)
11-
{
11+
{
1212
$this->apiKey = $key;
1313
}
1414

1515
public function __destruct()
16-
{
16+
{
1717

1818
}
1919

2020
/*
2121
* Validate whether an email address is a valid email or not.
2222
*/
2323
public function validateEmail($email)
24-
{
24+
{
2525
try {
2626
$params = [ 'email' => $email, 'key' => $this->apiKey, 'format' => 'json' ];
2727
$params2 = [];
@@ -47,7 +47,7 @@ public function validateEmail($email)
4747
* Validate whether an email address is a disposable email or not.
4848
*/
4949
public function isDisposableEmail($email)
50-
{
50+
{
5151
try {
5252
$params = [ 'email' => $email, 'key' => $this->apiKey, 'format' => 'json' ];
5353
$params2 = [];
@@ -73,7 +73,7 @@ public function isDisposableEmail($email)
7373
* Validate whether an email address is a free email or not.
7474
*/
7575
public function isFreeEmail($email)
76-
{
76+
{
7777
try {
7878
$params = [ 'email' => $email, 'key' => $this->apiKey, 'format' => 'json' ];
7979
$params2 = [];

0 commit comments

Comments
 (0)