fixed type hints for email attachments
This commit is contained in:
parent
f206538c79
commit
8059c50e75
@ -372,7 +372,7 @@ class Email extends Message
|
|||||||
/**
|
/**
|
||||||
* @return $this
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function attachPart(AbstractPart $part)
|
public function attachPart(DataPart $part)
|
||||||
{
|
{
|
||||||
$this->attachments[] = ['part' => $part];
|
$this->attachments[] = ['part' => $part];
|
||||||
|
|
||||||
@ -380,7 +380,7 @@ class Email extends Message
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return AbstractPart[]
|
* @return DataPart[]
|
||||||
*/
|
*/
|
||||||
public function getAttachments(): array
|
public function getAttachments(): array
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user