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/Instagram.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/inc/integrations/services/Instagram.php b/inc/integrations/services/Instagram.php
index 6a71ad8..3002cbc 100644
--- a/inc/integrations/services/Instagram.php
+++ b/inc/integrations/services/Instagram.php
@@ -15,6 +15,7 @@
use JVBase\integrations\OAuthCredentials;
use JVBase\integrations\OAuthURLs;
use JVBase\integrations\Requests;
+use WP_Error;
if (!defined('ABSPATH')) {
exit;
@@ -69,7 +70,7 @@
return [];
}
- protected function handleResponse(\WP_Error|array $response, string $method, string $endpoint): array
+ protected function handleResponse(WP_Error|array $response, string $method, string $endpoint): array
{
// TODO: Implement handleResponse() method.
return [];
--
Gitblit v1.10.0