mscherer 5 years ago
parent
commit
fa8a859e04
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/Mailer/Mailer.php

+ 2 - 3
src/Mailer/Mailer.php

@@ -151,12 +151,11 @@ class Mailer extends CakeMailer {
 	/**
 	 * Render content and send email using configured transport.
 	 *
+	 * @psalm-return array{headers: string, message: string}
 	 * @param string $content Content.
 	 * @return array
-	 * @psalm-return array{headers: string, message: string}
 	 */
-	public function deliver(string $content = '')
-	{
+	public function deliver(string $content = '') {
 		$this->debug = parent::deliver($content);
 
 		return $this->debug;