package and depencies

This commit is contained in:
RafficMohammed
2023-01-08 02:57:24 +05:30
parent d5332eb421
commit 1d54b8bc7f
4309 changed files with 193331 additions and 172289 deletions

View File

@@ -21,7 +21,7 @@ use Symfony\Component\Mime\Exception\RfcComplianceException;
*/
final class MailboxListHeader extends AbstractHeader
{
private $addresses = [];
private array $addresses = [];
/**
* @param Address[] $addresses
@@ -38,15 +38,15 @@ final class MailboxListHeader extends AbstractHeader
*
* @throws RfcComplianceException
*/
public function setBody($body)
public function setBody(mixed $body)
{
$this->setAddresses($body);
}
/**
* @throws RfcComplianceException
*
* @return Address[]
*
* @throws RfcComplianceException
*/
public function getBody(): array
{
@@ -99,9 +99,9 @@ final class MailboxListHeader extends AbstractHeader
/**
* Gets the full mailbox list of this Header as an array of valid RFC 2822 strings.
*
* @throws RfcComplianceException
*
* @return string[]
*
* @throws RfcComplianceException
*/
public function getAddressStrings(): array
{