Completed
Push — master ( 940980...4a2495 )
by Tom
03:24
created
src/FilePath.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -2,20 +2,20 @@
 block discarded – undo
2 2
 namespace Transphporm;
3 3
 
4 4
 class FilePath {
5
-    private $baseDir;
6
-    private $customBase;
5
+	private $baseDir;
6
+	private $customBase;
7 7
 
8
-    public function __construct($customBase = null) {
9
-        $this->baseDir = '';
10
-        if ($customBase === null) $this->customBase = getcwd();
11
-        else $this->customBase = rtrim($customBase, '/');
12
-    }
8
+	public function __construct($customBase = null) {
9
+		$this->baseDir = '';
10
+		if ($customBase === null) $this->customBase = getcwd();
11
+		else $this->customBase = rtrim($customBase, '/');
12
+	}
13 13
 
14
-    public function setBaseDir($baseDir) {
15
-        $this->baseDir = $baseDir;
16
-    }
14
+	public function setBaseDir($baseDir) {
15
+		$this->baseDir = $baseDir;
16
+	}
17 17
 
18
-    public function getFilePath($filePath = '') {
18
+	public function getFilePath($filePath = '') {
19 19
 		if (isset($filePath[0]) && $filePath[0] == '/') return $this->customBase . $filePath;
20 20
 		else return $this->baseDir . $filePath;
21 21
 	}
Please login to merge, or discard this patch.