@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | 'mapTypeId' => 'ROADMAP', |
60 | 60 | ), |
61 | 61 | ); |
62 | - if(!$this->options['showSearchBox']){ |
|
62 | + if(!$this->options['showSearchBox']) { |
|
63 | 63 | $this->children->removeByName("Search"); |
64 | 64 | } |
65 | 65 | $jsOptions = array_replace_recursive($jsOptions, $this->options); |
@@ -107,7 +107,9 @@ discard block |
||
107 | 107 | public function getOption($name) { |
108 | 108 | // Quicker execution path for "."-free names |
109 | 109 | if (strpos($name, '.') === false) { |
110 | - if (isset($this->options[$name])) return $this->options[$name]; |
|
110 | + if (isset($this->options[$name])) { |
|
111 | + return $this->options[$name]; |
|
112 | + } |
|
111 | 113 | } else { |
112 | 114 | $names = explode('.', $name); |
113 | 115 |