Jake Vanderwerf
2026-01-20 7a9054bb3f033c98067b3196378311dae54c5fbf
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(
      return $this->getRequest(
            "/v1/{$location_name}:fetchMultiDailyMetricsTimeSeries?" . http_build_query($params),
            $params,
            'performance'
         );
      return $response;
   }
   /**