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/OperationQueue.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/inc/managers/OperationQueue.php b/inc/managers/OperationQueue.php
index be4139c..e4dea6e 100644
--- a/inc/managers/OperationQueue.php
+++ b/inc/managers/OperationQueue.php
@@ -5,6 +5,7 @@
use WP_Error;
use WP_REST_Response;
use WP_REST_Request;
+use wpdb;
if (!defined('ABSPATH')) {
exit; // Exit if accessed directly
@@ -27,7 +28,7 @@
protected string $table = BASE.'_operation_queue';
protected string $metricsTable = BASE.'stats__operation_queue';
protected int $max_attempts = 3;
- protected \wpdb $wpdb;
+ protected wpdb $wpdb;
// System load thresholds
protected array $load_thresholds = [
--
Gitblit v1.10.0