Skip to content

Instantly share code, notes, and snippets.

@mikemix
Last active August 26, 2022 18:32
Show Gist options
  • Save mikemix/f09e4972596eaffc1eae6e86ee8933be to your computer and use it in GitHub Desktop.
Save mikemix/f09e4972596eaffc1eae6e86ee8933be to your computer and use it in GitHub Desktop.
<?php
declare(strict_types=1);
namespace App\Notification;
/**
* E-mail notification
*/
interface EmailNotificationInterface extends NotificationInterface
{
public function getTo(): EmailAddress;
public function getSubject(): string;
public function getBody(): string;
}
@Myks92
Copy link

Myks92 commented Aug 25, 2022

Fix:

EmailAdddress -> EmailAddress

@mikemix
Copy link
Author

mikemix commented Aug 26, 2022

Keen eye. Thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment