Skip to content

Commit

Permalink
Update Email.php
Browse files Browse the repository at this point in the history
  • Loading branch information
obinoob committed Sep 4, 2017
1 parent da26f92 commit 8b09766
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mailer/Email.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2092,11 +2092,11 @@ protected function _logDelivery($contents)




/** /**
* Converts $array to string if array given * Converts array to string
* @param null $key * @param array $array
* @return string * @return string
*/ */
protected function flatten($array = null) protected function flatten($array = [])
{ {
return is_array($array) ? implode(';', $array) : (string)$array; return is_array($array) ? implode(';', $array) : (string)$array;
} }
Expand Down

0 comments on commit 8b09766

Please sign in to comment.