mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Consistency with other methods: Type declaration of CakeEmail parameter.
This commit is contained in:
parent
8818b9094c
commit
60bd98a593
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ class SmtpTransport extends AbstractTransport {
|
||||||
* @param CakeEmail $email CakeEmail
|
* @param CakeEmail $email CakeEmail
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
protected function _prepareFromAddress($email) {
|
protected function _prepareFromAddress(CakeEmail $email) {
|
||||||
$from = $email->returnPath();
|
$from = $email->returnPath();
|
||||||
if (empty($from)) {
|
if (empty($from)) {
|
||||||
$from = $email->from();
|
$from = $email->from();
|
||||||
|
|
Loading…
Add table
Reference in a new issue