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/rest/routes/TermRoutes.php |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/inc/rest/routes/TermRoutes.php b/inc/rest/routes/TermRoutes.php
index 38772cb..ce0f578 100644
--- a/inc/rest/routes/TermRoutes.php
+++ b/inc/rest/routes/TermRoutes.php
@@ -560,10 +560,10 @@
 			if ($membership && $membership->has('term_approval')) {
 				$approval_routes = ApprovalRoutes::getInstance();
 				$request_id = $approval_routes->createTermApprovalRequest(
-					$user_id,
-					$taxonomy,
-					sanitize_title($name),
-					absint($parent)
+                    $user_id,
+                    $taxonomy,
+                    sanitize_title($name),
+                    absint($parent)
 				);
 
 				if (!$request_id) {

--
Gitblit v1.10.0