diff --git a/framework/core/src/Notification/Blueprint/BlueprintInterface.php b/framework/core/src/Notification/Blueprint/BlueprintInterface.php index caae87e413..abbf0f2d59 100644 --- a/framework/core/src/Notification/Blueprint/BlueprintInterface.php +++ b/framework/core/src/Notification/Blueprint/BlueprintInterface.php @@ -24,33 +24,40 @@ interface BlueprintInterface * * @return User|null */ - public function getFromUser(); + public function getFromUser(): ?User; /** * Get the model that is the subject of this activity. * * @return AbstractModel|null */ - public function getSubject(); + public function getSubject(): ?AbstractModel; /** * Get the data to be stored in the notification. * * @return mixed */ - public function getData(); + public function getData(): mixed; /** * Get the serialized type of this activity. * * @return string */ - public static function getType(); + public static function getType(): string; /** * Get the name of the model class for the subject of this activity. * * @return string */ - public static function getSubjectModel(); + public static function getSubjectModel(): string; + + /** + * Whether the blueprint ignores that a user has not verified their email address. + * + * @return bool + */ + public function ignoresUserVerification(): bool; }