We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5e534f commit 1e66370Copy full SHA for 1e66370
src/Illuminate/Mail/Message.php
@@ -315,7 +315,7 @@ public function attach($file, array $options = [])
315
/**
316
* Attach in-memory data as an attachment.
317
*
318
- * @param string $data
+ * @param string|resource $data
319
* @param string $name
320
* @param array $options
321
* @return $this
@@ -366,7 +366,7 @@ function ($data) use ($file) {
366
367
* Embed in-memory data in the message and get the CID.
368
369
370
371
* @param string|null $contentType
372
* @return string
0 commit comments