From a9654f00c8fbc9934289d761843ddd071025013f Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 28 Aug 2026 17:20:28 +0000
Subject: [PATCH] =PHPStorm Code Inspection: fixed class reference errors (from getting rid of JVB() and replacing with direct class::getInstance; as well as general code sniffing, etc
---
inc/managers/NotificationManager.php | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/inc/managers/NotificationManager.php b/inc/managers/NotificationManager.php
index 9b12b4f..b19dac9 100644
--- a/inc/managers/NotificationManager.php
+++ b/inc/managers/NotificationManager.php
@@ -74,6 +74,10 @@
{
return $this->notifications->getUserNotifications($user_id, $args);
}
+ public function countUserNotifications(int $user_id, array $args = []):int
+ {
+ return $this->notifications->countUserNotifications($user_id, $args);
+ }
public function markRead(int $userID, int|array $notification_id):bool
{
--
Gitblit v1.10.0