Skip to content
Permalink
Browse files

Consistency with other methods: Type declaration of CakeEmail parameter.

  • Loading branch information...
Linnk committed Aug 2, 2016
1 parent 8818b90 commit 60bd98a593e025e781c56ff0ac4a2c8db876214f
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Network/Email/SmtpTransport.php
@@ -229,7 +229,7 @@ protected function _prepareRcptCmd($email) {
* @param CakeEmail $email CakeEmail
* @return array
*/
protected function _prepareFromAddress($email) {
protected function _prepareFromAddress(CakeEmail $email) {
$from = $email->returnPath();
if (empty($from)) {
$from = $email->from();

0 comments on commit 60bd98a

Please sign in to comment.
You can’t perform that action at this time.