From 7a9054bb3f033c98067b3196378311dae54c5fbf Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 20 Jan 2026 01:31:53 +0000
Subject: [PATCH] =OperationQueue refactor to the JVBase/managers/queue namespace

---
 inc/integrations/GoogleMyBusiness.php |   22 ++++++++--------------
 1 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/inc/integrations/GoogleMyBusiness.php b/inc/integrations/GoogleMyBusiness.php
index e818d5b..c838f64 100644
--- a/inc/integrations/GoogleMyBusiness.php
+++ b/inc/integrations/GoogleMyBusiness.php
@@ -1737,9 +1737,7 @@
 		$text = preg_replace('/\s+/', ' ', $text);
 
 		// Trim
-		$text = trim($text);
-
-		return $text;
+		return trim($text);
 	}
 	/**
 	 * Format date for GMB API
@@ -1780,11 +1778,10 @@
 
 			// Validate hour and minute ranges
 			if ($hour >= 0 && $hour <= 23 && $minute >= 0 && $minute <= 59) {
-				$result = [
+				return [
 					'hours' => $hour,
 					'minutes' => $minute
 				];
-				return $result;
 			}
 		}
 
@@ -2074,9 +2071,7 @@
 			[],
 			'posts'
 		);
-		$result = $response['foodMenus'] ?? [];
-
-		return $result;
+		return $response['foodMenus'] ?? [];
 	}
 
 	/**
@@ -2351,12 +2346,11 @@
 				'dailyRange.endDate.day' => date('j', strtotime($end_date))
 			];
 
-			$response = $this->getRequest(
-				"/v1/{$location_name}:fetchMultiDailyMetricsTimeSeries?" . http_build_query($params),
-				$params,
-				'performance'
-			);
-		return $response;
+		return $this->getRequest(
+			"/v1/{$location_name}:fetchMultiDailyMetricsTimeSeries?" . http_build_query($params),
+			$params,
+			'performance'
+		);
 	}
 
 	/**

--
Gitblit v1.10.0