@@ -18,8 +18,7 @@ |
||
18 | 18 | * @param string[] $buttonText |
19 | 19 | */ |
20 | 20 | public function __construct($children = array(), $buttonText = null) |
21 | - { |
|
22 | - ++self::$ctr; |
|
21 | + {++self::$ctr; |
|
23 | 22 | |
24 | 23 | if ((sizeof($children) < 2) || (sizeof($children) > 3) || |
25 | 24 | (!$children[0] instanceof FormField) || |
@@ -132,8 +132,7 @@ |
||
132 | 132 | * @return MapAPI |
133 | 133 | */ |
134 | 134 | public static function instance() |
135 | - { |
|
136 | - ++self::$instances; |
|
135 | + {++self::$instances; |
|
137 | 136 | |
138 | 137 | if (self::$allow_full_screen == null) { |
139 | 138 | self::$allow_full_screen = Config::inst()->get('Mappable', 'allow_full_screen'); |
@@ -53,8 +53,7 @@ |
||
53 | 53 | // the id of the dom element to be used to render the street view |
54 | 54 | $arguments['DomID'] = 'google_streetview_'.self::$gsv_ctr; |
55 | 55 | |
56 | - // incrememt the counter to ensure a unique id for each map canvas |
|
57 | - ++self::$gsv_ctr; |
|
56 | + // incrememt the counter to ensure a unique id for each map canvas++self::$gsv_ctr; |
|
58 | 57 | |
59 | 58 | // merge defaults and arguments |
60 | 59 | $customised = array_merge($defaults, $arguments); |
@@ -53,8 +53,7 @@ |
||
53 | 53 | // the id of the dom element to be used to render the street view |
54 | 54 | $arguments['DomID'] = 'google_streetview_'.self::$gsv_ctr; |
55 | 55 | |
56 | - // incrememt the counter to ensure a unique id for each map canvas |
|
57 | - ++self::$gsv_ctr; |
|
56 | + // incrememt the counter to ensure a unique id for each map canvas++self::$gsv_ctr; |
|
58 | 57 | |
59 | 58 | // merge defaults and arguments |
60 | 59 | $customised = array_merge($defaults, $arguments); |