chore: Fix wrong classes naming

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-03-09 13:19:02 +01:00
parent ff9bf9f91d
commit d17b50183a
60 changed files with 200 additions and 200 deletions

View File

@@ -27,7 +27,7 @@ namespace SP\Modules\Web\Controllers\Notification;
use SP\Core\Acl\Acl;
use SP\Core\Application;
use SP\DataModel\NotificationItemWithIdAndName;
use SP\DataModel\Notification;
use SP\Domain\Core\Acl\AclActionsInterface;
use SP\Domain\Core\Exceptions\ConstraintException;
use SP\Domain\Core\Exceptions\QueryException;
@@ -75,7 +75,7 @@ abstract class NotificationViewBase extends ControllerBase
$notification = $notificationId
? $this->notificationService->getById($notificationId)
: new NotificationItemWithIdAndName();
: new Notification();
$this->view->assign('notification', $notification);