Completed
Push — AUTOMATED_TESTING ( 6d2161...4cfed4 )
by Gordon
144:02 queued 110:40
created
code/MapField.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,9 @@
 block discarded – undo
27 27
 						$form = (isset($args[3])) ? $args[3] : null;
28 28
 				}
29 29
 
30
-				if($headingLevel) $this->headingLevel = $headingLevel;
30
+				if($headingLevel) {
31
+					$this->headingLevel = $headingLevel;
32
+				}
31 33
 				$this->allowHTML = $allowHTML;
32 34
 				parent::__construct($name, $title, null, $allowHTML, $form);
33 35
 		}
Please login to merge, or discard this patch.
code/MapUtil.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,8 +226,9 @@
 block discarded – undo
226 226
 		$gmap = self::instance();
227 227
 		if ($list) {
228 228
 			foreach ($list as $mappable) {
229
-				if (self::ChooseToAddDataobject($mappable))
230
-					$gmap->addMarkerAsObject($mappable, $infowindowtemplateparams);
229
+				if (self::ChooseToAddDataobject($mappable)) {
230
+									$gmap->addMarkerAsObject($mappable, $infowindowtemplateparams);
231
+				}
231 232
 			}
232 233
 		}
233 234
 		return $gmap;
Please login to merge, or discard this patch.
code/LatLongField.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,8 +23,10 @@
 block discarded – undo
23 23
 		if ((sizeof($children) < 2) || (sizeof($children) > 3) ||
24 24
 			 (!$children[0] instanceof FormField) ||
25 25
 			 (!$children[1] instanceof FormField)
26
-		) user_error('LatLongField argument 1 must be an array containing at least two FormField '.
26
+		) {
27
+			user_error('LatLongField argument 1 must be an array containing at least two FormField '.
27 28
 				'objects for Lat/Long values, respectively.', E_USER_ERROR);
29
+		}
28 30
 
29 31
 		parent::__construct($children);
30 32
 
Please login to merge, or discard this patch.