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/blocks/GMBReviewBlock.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/inc/blocks/GMBReviewBlock.php b/inc/blocks/GMBReviewBlock.php
index a57c694..04542a8 100644
--- a/inc/blocks/GMBReviewBlock.php
+++ b/inc/blocks/GMBReviewBlock.php
@@ -1,6 +1,7 @@
 <?php
 namespace JVBase\blocks;
 
+use Exception;
 use JVBase\base\Site;
 use JVBase\integrations\services\GoogleMyBusiness;
 //use JVBase\managers\Cache;
@@ -246,7 +247,7 @@
 			<?php
 			return ob_get_clean();
 
-		} catch (\Exception $e) {
+		} catch (Exception $e) {
 			error_log('[GMB Reviews Block] Error: ' . $e->getMessage());
 			return '';
 		}

--
Gitblit v1.10.0