Completed
Push — master ( a09952...25a05b )
by Richard
12s
created
src/Builder.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -41,9 +41,9 @@  discard block
 block discarded – undo
41 41
 	}
42 42
 	
43 43
 	public function setLocale($locale) {
44
-                $format = new \Transphporm\Module\Format($locale);
45
-                $this->modules[get_class($format)] = $format;
46
-        }
44
+				$format = new \Transphporm\Module\Format($locale);
45
+				$this->modules[get_class($format)] = $format;
46
+		}
47 47
 
48 48
 	public function addPath($dir) {
49 49
 		$this->filePath->addPath($dir);
@@ -97,15 +97,15 @@  discard block
 block discarded – undo
97 97
 
98 98
 	//Load a template, firstly check if it's a file or a valid string
99 99
 	private function loadTemplate() {
100
-        $result = ['body' => $this->template, 'headers' => []];
100
+		$result = ['body' => $this->template, 'headers' => []];
101 101
 		if (file_exists($this->template)) $result = $this->loadTemplateFromFile($this->template);
102 102
 		return $result;
103 103
 	}
104 104
 
105
-    private function loadTemplateFromFile($file) {
106
-        $xml = $this->cache->load($this->template, filemtime($this->template));
107
-        return $xml ? $xml : ['body' => file_get_contents($this->template) ?: "", 'headers' => []];
108
-    }
105
+	private function loadTemplateFromFile($file) {
106
+		$xml = $this->cache->load($this->template, filemtime($this->template));
107
+		return $xml ? $xml : ['body' => file_get_contents($this->template) ?: "", 'headers' => []];
108
+	}
109 109
 
110 110
 	//Load the TSS rules either from a file or as a string
111 111
 	//N.b. only files can be cached
Please login to merge, or discard this patch.