Skip to content

Commit

Permalink
fix line too long
Browse files Browse the repository at this point in the history
  • Loading branch information
stevecoug committed Jun 20, 2021
1 parent d32a54c commit 69a414e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Common/AbstractMailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ public function setClient($client)
protected function createRequest($class, array $parameters)
{
if (!isset($parameters['credentials'])) {
$parameters['credentials'] = new Credentials(array_intersect_key($this->getCredentialFields(), $parameters));
$creds = array_intersect_key($this->getCredentialFields(), $parameters);
$parameters['credentials'] = new Credentials($creds);
}
return new $class($parameters);
}
Expand Down

0 comments on commit 69a414e

Please sign in to comment.