diff --git a/lib/Cake/Network/Email/SmtpTransport.php b/lib/Cake/Network/Email/SmtpTransport.php index c1ba377f1..b0761d496 100644 --- a/lib/Cake/Network/Email/SmtpTransport.php +++ b/lib/Cake/Network/Email/SmtpTransport.php @@ -229,7 +229,7 @@ class SmtpTransport extends AbstractTransport { * @param CakeEmail $email CakeEmail * @return array */ - protected function _prepareFromAddress($email) { + protected function _prepareFromAddress(CakeEmail $email) { $from = $email->returnPath(); if (empty($from)) { $from = $email->from();