Completed
Push — AUTOMATED_TESTING ( 8b04e2...fbfa67 )
by Gordon
12:17
created
code/PointsOfInterestAdmin.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,6 +7,6 @@
 block discarded – undo
7 7
 	private static $menu_icon = '/mappable/icons/menuicon.png';
8 8
 
9 9
 	static $has_one = array(
10
-	    'DefaultIcon' => 'Image'
10
+		'DefaultIcon' => 'Image'
11 11
 	);
12 12
 }
Please login to merge, or discard this patch.
code/PointOfInterest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@  discard block
 block discarded – undo
14 14
 	private static $default_sort = 'Name';
15 15
 
16 16
 	function getCMSFields() {
17
-	    $fields = parent::getCMSFields();
18
-	    $fields->addFieldToTab('Root.Main', new TextField('Name', 'Name of the item on the map'));
17
+		$fields = parent::getCMSFields();
18
+		$fields->addFieldToTab('Root.Main', new TextField('Name', 'Name of the item on the map'));
19 19
 
20 20
 		$layers = $this->PointsOfInterestLayer();
21 21
 		$ids = array();
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 			$this->owner->getMapField()->setGuidePoints($pois);
37 37
 		}
38 38
 
39
-	    return $fields;
39
+		return $fields;
40 40
 	}
41 41
 
42 42
 	/*
Please login to merge, or discard this patch.
code/NearestPOIPage.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,13 +4,13 @@
 block discarded – undo
4 4
 	public static $has_one = array('PointsOfInterestLayer' => 'PointsOfInterestLayer');
5 5
 
6 6
 	function getCMSFields() {
7
-	    $fields = parent::getCMSFields();
8
-	    $field = DropdownField::create('PointsOfInterestLayerID', 'PointsOfInterestLayer',
9
-	    	PointsOfInterestLayer::get()->map('ID', 'Title'))
10
-                ->setEmptyString('-- Select one --');
11
-        $fields->addFieldToTab('Root.Layer', $field);
7
+		$fields = parent::getCMSFields();
8
+		$field = DropdownField::create('PointsOfInterestLayerID', 'PointsOfInterestLayer',
9
+			PointsOfInterestLayer::get()->map('ID', 'Title'))
10
+				->setEmptyString('-- Select one --');
11
+		$fields->addFieldToTab('Root.Layer', $field);
12 12
 
13
-	    return $fields;
13
+		return $fields;
14 14
 	}
15 15
 }
16 16
 
Please login to merge, or discard this patch.
code/extensions/OSMPointOfInterestExtension.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,12 +8,12 @@
 block discarded – undo
8 8
 
9 9
 	// given millions of possible POIs an index is handy
10 10
 	private static $indexes = array(
11
-        'OpenStreetMapID' => true
11
+		'OpenStreetMapID' => true
12 12
    );
13 13
 
14 14
 
15 15
 	/* The openstreetmap id is only for scripting purposes */
16
-    public function updateCMSFields(FieldList $fields) {
16
+	public function updateCMSFields(FieldList $fields) {
17 17
 		$fields->removeByName('OpenStreetMapID');
18 18
 	}
19 19
 }
Please login to merge, or discard this patch.
code/PointsOfInterestLayer.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,6 +7,6 @@
 block discarded – undo
7 7
 	private static $menu_icon = '/mappable/icons/menuicon.png';
8 8
 
9 9
 	static $has_one = array(
10
-	    'DefaultIcon' => 'Image'
10
+		'DefaultIcon' => 'Image'
11 11
 	);
12 12
 }
Please login to merge, or discard this patch.