Passed
Push — master ( 0e515b...d33c99 )
by Roberto
03:56
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   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -67,18 +67,18 @@
 block discarded – undo
67 67
 	 */
68 68
 	public function parseLocations($locations): string {
69 69
 
70
-		if($locations instanceof Path) {
70
+		if ($locations instanceof Path) {
71 71
 			$locations = $locations->toArray();
72 72
 		}
73 73
 
74 74
 		if (is_array($locations)) {
75
-			$locations = implode('|', array_map(function ($item) {
75
+			$locations = implode('|', array_map(function($item) {
76 76
 
77
-				return (string)$item;
77
+				return (string) $item;
78 78
 			}, $locations));
79 79
 		}
80 80
 
81
-		return (string)$locations;
81
+		return (string) $locations;
82 82
 	}
83 83
 
84 84
 	/**
Please login to merge, or discard this patch.