Completed
Push — AUTOMATED_TESTING ( 1306ca...0fc006 )
by Gordon
17:27
created
code/MapAPI.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
 	public function addMarkerByAddress($address, $content = '', $category = '', $icon = '') {
477 477
 		$point = $this->geocoding($address);
478 478
 		error_log('POINT');
479
-		error_log(print_r($point,1));
479
+		error_log(print_r($point, 1));
480 480
 		if ($point !== null) {
481 481
 			$this->addMarkerByCoords($point['lat'], $point['lon'], $content, $category, $icon);
482 482
 		}
@@ -636,7 +636,7 @@  discard block
 block discarded – undo
636 636
 							$this->latLongCenter : $this->geocoding($this->center);
637 637
 
638 638
 		// coordinates for centre depending on which method used
639
-		if (isset($geocodeCentre['geocoded'] )) {
639
+		if (isset($geocodeCentre['geocoded'])) {
640 640
 			$latlngCentre = array(
641 641
 				'lat' => $geocodeCentre['lat'],
642 642
 				'lng' => $geocodeCentre['lon']
Please login to merge, or discard this patch.
tests/MapAPITest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -381,14 +381,14 @@
 block discarded – undo
381 381
 	public function testAddLine() {
382 382
 		$map = $this->getMap();
383 383
 		$map->addLine(
384
-			array(13,101),
384
+			array(13, 101),
385 385
 			array(13.2, 101.4),
386 386
 			'#F32'
387 387
 		);
388 388
 
389 389
 		$map->addLine(
390 390
 			array(13.2, 101.4),
391
-			array(14.2,99.8)
391
+			array(14.2, 99.8)
392 392
 		);
393 393
 
394 394
 		$html = $map->forTemplate();
Please login to merge, or discard this patch.