Completed
Push — 3.1 ( 14f16d...56fd6d )
by Gordon
04:19
created
code/LatLongField.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,7 @@
 block discarded – undo
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) ||
Please login to merge, or discard this patch.
code/MapUtil.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,8 +132,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
code/shortcodes/GoogleStreetViewShortCodeHandler.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
code/shortcodes/GoogleMapShortCodeHandler.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.