mscherer 5 年之前
父节点
当前提交
fa8a859e04
共有 1 个文件被更改,包括 2 次插入3 次删除
  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;