浏览代码

fix strict error

Mark Scherer 10 年之前
父节点
当前提交
ac57b59914
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/Network/Email/Email.php

+ 2 - 2
src/Network/Email/Email.php

@@ -222,7 +222,7 @@ class Email extends ToolsEmail {
 	 * @param array $options Options
 	 * @return mixed resource $EmailLib or string $contentId
 	 */
-	public function addEmbeddedAttachment($file, $name = null, $contentId = null, $options = []) {
+	public function addEmbeddedAttachment($file, $name = null, $contentId = null, array $options = []) {
 		if (empty($name)) {
 			$name = basename($file);
 		}
@@ -256,7 +256,7 @@ class Email extends ToolsEmail {
 	 * @param array $options Options
 	 * @return mixed resource $EmailLib or string $contentId
 	 */
-	public function addEmbeddedBlobAttachment($content, $filename, $mimeType = null, $contentId = null, $options = []) {
+	public function addEmbeddedBlobAttachment($content, $filename, $mimeType = null, $contentId = null, array $options = []) {
 		if ($mimeType === null) {
 			$ext = pathinfo($filename, PATHINFO_EXTENSION);
 			$mimeType = $this->_getMimeByExtension($ext);