Completed
Push — master ( c0efc1...244f37 )
by
unknown
05:04
created
code/model/address/CountryPrice_EcommerceCountry.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -163,9 +163,9 @@
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-    * checks if the country has a distributor
167
-    * and returns the primary country for the distributor.
168
-    * If not, returns the defaulf country.
166
+     * checks if the country has a distributor
167
+     * and returns the primary country for the distributor.
168
+     * If not, returns the defaulf country.
169 169
      *
170 170
      * @return EcommerceCountry
171 171
      *
Please login to merge, or discard this patch.
tests/EcommerceCountriesTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 class EcommerceCountriesTest extends SapphireTest {
3 3
 
4
-	protected $usesDatabase = false;
4
+    protected $usesDatabase = false;
5 5
 
6
-	protected $requiredExtensions = array();
6
+    protected $requiredExtensions = array();
7 7
 
8
-	public function testMyMethod() {
9
-		$this->assertEquals(1, 1);
10
-	}
8
+    public function testMyMethod() {
9
+        $this->assertEquals(1, 1);
10
+    }
11 11
 
12 12
 }
13 13
 
Please login to merge, or discard this patch.
code/model/process/extensions/CountryPrice_OrderDOD.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     public static function localise_order($countryCode = null, $force = false, $runAgain = false)
52 52
     {
53 53
         if(self::$_number_of_times_we_have_run_localise_order > 0) {
54
-           $runAgain = false;
54
+            $runAgain = false;
55 55
         }
56 56
         if ($runAgain) {
57 57
             self::$_number_of_times_we_have_run_localise_order = 0;
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
                 'Root.Country',
153 153
                 DropdownField::create(
154 154
                     'DistributorID',
155
-                     _t('Distributor.SINGULAR_NAME', 'Distributor'),
155
+                        _t('Distributor.SINGULAR_NAME', 'Distributor'),
156 156
                     array(''=> '--- Please select ---') + Distributor::get()->map()->toArray()
157 157
                 )
158 158
             );
Please login to merge, or discard this patch.