Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
papac committed Sep 23, 2023
1 parent 414ca93 commit 9d4e9a6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Mail/Mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,15 @@ public static function configure(array $config = []): MailDriverInterface

if (!isset($config['driver'])) {
throw new MailException(
"The driver is not defined.", E_USER_ERROR
"The driver is not defined.",
E_USER_ERROR
);

}

if (!in_array($config['driver'], array_keys(static::$drivers))) {
throw new MailException(
"The driver is not defined.", E_USER_ERROR
"The driver is not defined.",
E_USER_ERROR
);
}

Expand Down

0 comments on commit 9d4e9a6

Please sign in to comment.