Skip to content

Commit 1e66370

Browse files
authored
Update Mail phpdoc (#46173)
1 parent d5e534f commit 1e66370

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Mail/Message.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ public function attach($file, array $options = [])
315315
/**
316316
* Attach in-memory data as an attachment.
317317
*
318-
* @param string $data
318+
* @param string|resource $data
319319
* @param string $name
320320
* @param array $options
321321
* @return $this
@@ -366,7 +366,7 @@ function ($data) use ($file) {
366366
/**
367367
* Embed in-memory data in the message and get the CID.
368368
*
369-
* @param string $data
369+
* @param string|resource $data
370370
* @param string $name
371371
* @param string|null $contentType
372372
* @return string

0 commit comments

Comments
 (0)