Completed
Push — 1.1 ( bcc01b...530a78 )
by Daniel
02:17 queued 57s
created
code/GoogleMapField.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -98,6 +98,9 @@
 block discarded – undo
98 98
 		return $this->data->$fieldNames['lng'];
99 99
 	}
100 100
 
101
+	/**
102
+	 * @param string $name
103
+	 */
101 104
 	public function getOption($name) {
102 105
 		// Quicker execution path for "."-free names
103 106
 		if (strpos($name, '.') === false) {
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,9 @@
 block discarded – undo
101 101
 	public function getOption($name) {
102 102
 		// Quicker execution path for "."-free names
103 103
 		if (strpos($name, '.') === false) {
104
-			if (isset($this->options[$name])) return $this->options[$name];
104
+			if (isset($this->options[$name])) {
105
+				return $this->options[$name];
106
+			}
105 107
 		} else {
106 108
 			$names = explode('.', $name);
107 109
 
Please login to merge, or discard this patch.