From 9606c3f2eb2835c080e52d387d1d423f1e107769 Mon Sep 17 00:00:00 2001 From: Touhidur Rahman Date: Fri, 13 Sep 2024 17:36:23 +0600 Subject: [PATCH] pkp/pkp-lib#10306 fixed namespace issue --- jobs/notifications/IssuePublishedNotifyUsers.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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