@@ -54,7 +54,7 @@ |
||
| 54 | 54 | foreach ($this->typeCheck as $field_name => $field_type) { |
| 55 | 55 | if (empty($args[$field_name]) || is_null($args[$field_name])) { |
| 56 | 56 | if ($this->isFieldRequired($field_name)) { |
| 57 | - $this->addError('Missing "' . $field_name . '" in ' . static::class); |
|
| 57 | + $this->addError('Missing "'.$field_name.'" in '.static::class); |
|
| 58 | 58 | } |
| 59 | 59 | } else { |
| 60 | 60 | $this->$field_name = $this->parseFieldValue($field_type, $args[$field_name]); |
@@ -216,7 +216,7 @@ |
||
| 216 | 216 | throw new RequestException('Service name missing!'); |
| 217 | 217 | } |
| 218 | 218 | |
| 219 | - return $this->api_url . $service_endpoint . '/' . GoogleMapsResponseFormat::JSON; |
|
| 219 | + return $this->api_url.$service_endpoint.'/'.GoogleMapsResponseFormat::JSON; |
|
| 220 | 220 | } |
| 221 | 221 | |
| 222 | 222 | /** |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | $params = []; |
| 59 | 59 | |
| 60 | 60 | foreach ($this->params as $param_name => $param_value) { |
| 61 | - $params[$param_name] = (string)$param_value; |
|
| 61 | + $params[$param_name] = (string) $param_value; |
|
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | return http_build_query($params); |