Completed
Push — master ( 7edbdc...1bd818 )
by Richard
04:37
created
src/FilePath.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,15 +14,15 @@
 block discarded – undo
14 14
 
15 15
 	public function getFilePath($filePath) {
16 16
 		if (is_file($filePath)) return $filePath;
17
-		else if (is_file($this->baseDir . DIRECTORY_SEPARATOR . $filePath)) return $this->baseDir . DIRECTORY_SEPARATOR . $filePath;
17
+		else if (is_file($this->baseDir.DIRECTORY_SEPARATOR.$filePath)) return $this->baseDir.DIRECTORY_SEPARATOR.$filePath;
18 18
 		else return $this->loadFromPaths($filePath);
19 19
 	}
20 20
 
21 21
 	private function loadFromPaths($filePath) {
22 22
 		foreach ($this->paths as $path) {
23
-			if (is_file($path . DIRECTORY_SEPARATOR . $filePath)) return $path . DIRECTORY_SEPARATOR . $filePath;
23
+			if (is_file($path.DIRECTORY_SEPARATOR.$filePath)) return $path.DIRECTORY_SEPARATOR.$filePath;
24 24
 		}
25 25
 
26
-		throw new \Exception($filePath . ' not found in include path: ' . implode(';', $this->paths));
26
+		throw new \Exception($filePath.' not found in include path: '.implode(';', $this->paths));
27 27
 	}
28 28
 }
Please login to merge, or discard this patch.