From 5b50afdcafd150186ea5c7b0e1cad98065590b35 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 28 Aug 2026 18:44:28 +0000
Subject: [PATCH] =A few more phpStorm suggestions, mainly in PHPDocs
---
inc/integrations/services/GoogleMyBusinessOld.php | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/inc/integrations/services/GoogleMyBusinessOld.php b/inc/integrations/services/GoogleMyBusinessOld.php
index e4af35f..41fcbe4 100644
--- a/inc/integrations/services/GoogleMyBusinessOld.php
+++ b/inc/integrations/services/GoogleMyBusinessOld.php
@@ -718,7 +718,6 @@
* Update business attributes (amenities, services, etc.)
*/
/**
- * @param string $location_name
* @param array $attributes
* @return array As expected by OperationQueue.php processOperation
*/
@@ -1019,6 +1018,8 @@
*
* @param array $hours Array of periods with open/close times per day
* @return array Success status, according to OperationQueue.php
+ * @throws Exception
+ * @throws Exception
*/
public function updateBusinessHours(array $hours): array
{
@@ -1157,6 +1158,8 @@
* @param string $date
* @param array{open?: float, closed?:float, isClosed?: bool, location?: string} $options
* @return array Operation Queue [ 'success' => true/false, 'result' => $results]
+ * @throws Exception
+ * @throws Exception
*/
public function setSpecialHours(string $date, array $options = []):array
{
@@ -1406,6 +1409,8 @@
* Get reviews for the current location
* @param int $page_size Number of reviews to fetch (max 50)
* @return array|null
+ * @throws Exception
+ * @throws Exception
*/
public function getReviews(int $page_size = 5): ?array
{
--
Gitblit v1.10.0