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/integrations/services/Square.php |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/inc/integrations/services/Square.php b/inc/integrations/services/Square.php
index 8b92d3f..89d49c1 100644
--- a/inc/integrations/services/Square.php
+++ b/inc/integrations/services/Square.php
@@ -14,7 +14,9 @@
 use JVBase\integrations\SyncFrom;
 use JVBase\integrations\SyncTo;
 use JVBase\integrations\Webhooks;
+use JVBase\managers\Dashboard\Dashboard;
 use JVBase\managers\queue\executors\IntegrationExecutor;
+use JVBase\managers\queue\Queue;
 use JVBase\managers\queue\TypeConfig;
 use JVBase\meta\Sanitizer;
 use JVBase\registrar\Registrar;
@@ -298,7 +300,7 @@
 		];
 	}
 
-	protected function handleResponse(\WP_Error|array $response, string $method, string $endpoint): array
+	protected function handleResponse(WP_Error|array $response, string $method, string $endpoint): array
 	{
 		if (is_wp_error($response) && $response->get_error_message() === 'rate_limit_exceeded') {
 			return $this->response(false, 'Rate limit exceeded');

--
Gitblit v1.10.0