Passed
Push — master ( 9823d4...48a16c )
by Roberto
02:03
created
src/Abstracts/AbstractObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
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]);
Please login to merge, or discard this patch.
src/GoogleMapsApi.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@
 block discarded – undo
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
 	/**
Please login to merge, or discard this patch.
src/Http/GoogleMapsRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Api/Elevation.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,13 +66,13 @@
 block discarded – undo
66 66
 	public function parseLocations($locations): string {
67 67
 
68 68
 		if (is_array($locations)) {
69
-			$locations = implode('|', array_map(function ($item) {
69
+			$locations = implode('|', array_map(function($item) {
70 70
 
71
-				return (string)$item;
71
+				return (string) $item;
72 72
 			}, $locations));
73 73
 		}
74 74
 
75
-		return (string)$locations;
75
+		return (string) $locations;
76 76
 	}
77 77
 
78 78
 }
79 79
\ No newline at end of file
Please login to merge, or discard this patch.