Jake Vanderwerf
2026-08-26 ccf5e61a075c35d24befc175994b5cb8957ca322
inc/integrations/services/GoogleMapsOld.php
@@ -202,7 +202,7 @@
         'key' => $this->private_key
      ];
      $key = $this->cache->generateKey(['geocode', $address]);
      $key =['geocode', $address];
      $cached = $this->cache->get($key);
      if ($cached) {
         return $cached;
@@ -256,7 +256,7 @@
         'key' => $this->private_key
      ];
      $key = $this->cache->generateKey(['reverse', $lat, $lng]);
      $key = ['reverse', $lat, $lng];
      $cached = $this->cache->get($key);
      if ($cached) {
         return $cached;
@@ -302,7 +302,7 @@
      $default_fields = ['name', 'formatted_address', 'geometry', 'rating', 'formatted_phone_number'];
      $fields = empty($fields) ? $default_fields : $fields;
      $key = $this->cache->generateKey(['place', $place_id, $fields]);
      $key = ['place', $place_id, $fields];
      $cached = $this->cache->get($key);
      if ($cached) {
         return $cached;
@@ -355,7 +355,7 @@
         $params['type'] = $type;
      }
      $key = $this->cache->generateKey(['nearby', $lat, $lng, $radius, $type]);
      $key = ['nearby', $lat, $lng, $radius, $type];
      $cached = $this->cache->get($key);
      if ($cached) {
         return $cached;
@@ -406,7 +406,7 @@
         'key' => $this->private_key
      ];
      $key = $this->cache->generateKey(['distance', $origin_str, $dest_str, $mode]);
      $key = ['distance', $origin_str, $dest_str, $mode];
      $cached = $this->cache->get($key);
      if ($cached) {
         return $cached;