lots of improvements
This commit is contained in:
@@ -9,7 +9,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace KTXF\Mail\Service;
|
||||
|
||||
use KTXF\Mail\Entity\IAddress;
|
||||
use KTXF\Mail\Object\AddressInterface;
|
||||
|
||||
/**
|
||||
* Mail Service Mutable Interface
|
||||
@@ -26,21 +26,21 @@ interface ServiceMutableInterface extends ServiceBaseInterface {
|
||||
*
|
||||
* @since 2025.05.01
|
||||
*
|
||||
* @param IAddress $value Primary email address
|
||||
* @param AddressInterface $value Primary email address
|
||||
*
|
||||
* @return self
|
||||
* @return static
|
||||
*/
|
||||
public function setPrimaryAddress(IAddress $value): self;
|
||||
public function setPrimaryAddress(AddressInterface $value): static;
|
||||
|
||||
/**
|
||||
* Sets the secondary mailing addresses (aliases) for this service
|
||||
*
|
||||
* @since 2025.05.01
|
||||
*
|
||||
* @param array<int, IAddress> $value Array of secondary addresses
|
||||
* @param array<int,AddressInterface> $value Array of secondary addresses
|
||||
*
|
||||
* @return self
|
||||
* @return static
|
||||
*/
|
||||
public function setSecondaryAddresses(array $value): self;
|
||||
public function setSecondaryAddresses(array $value): static;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user