Completed
Push — 1.3 ( 01d12d...dc5899 )
by Daniel
05:14 queued 03:43
created
code/GoogleMapField.php 1 patch
Braces   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,8 +71,7 @@  discard block
 block discarded – undo
71 71
 			if(isset($options[$name])) {
72 72
 				if(is_array($value)) {
73 73
 					$value = array_merge($value, $options[$name]);
74
-				}
75
-				else {
74
+				} else {
76 75
 					$value = $options[$name];
77 76
 				}
78 77
 			}
@@ -234,7 +233,9 @@  discard block
 block discarded – undo
234 233
 	public function getOption($name) {
235 234
 		// Quicker execution path for "."-free names
236 235
 		if (strpos($name, '.') === false) {
237
-			if (isset($this->options[$name])) return $this->options[$name];
236
+			if (isset($this->options[$name])) {
237
+				return $this->options[$name];
238
+			}
238 239
 		} else {
239 240
 			$names = explode('.', $name);
240 241
 
Please login to merge, or discard this patch.