diff --git a/jobs/notifications/IssuePublishedNotifyUsers.php b/jobs/notifications/IssuePublishedNotifyUsers.php index 5b209d50012..fb17bb9020f 100644 --- a/jobs/notifications/IssuePublishedNotifyUsers.php +++ b/jobs/notifications/IssuePublishedNotifyUsers.php @@ -28,6 +28,7 @@ use PKP\context\Context; use PKP\emailTemplate\EmailTemplate; use PKP\jobs\BaseJob; +use PKP\notification\Notification as PKPNotification; use PKP\user\User; class IssuePublishedNotifyUsers extends BaseJob @@ -99,7 +100,7 @@ protected function createMailable( Issue $issue, User $recipient, EmailTemplate $template, - Notification|\PKP\notification\Notification $notification + PKPNotification $notification ): IssuePublishedNotify { $mailable = new IssuePublishedNotify($context, $issue); $mailable