Passed
Branch dev (1afc9a)
by Alan
09:46
created
src/AbstractConfigFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 		}
70 70
 
71 71
 		foreach ($this->directories as $directory) {
72
-			$fullPath = $this->resolveFile($directory, $fileName . '.php');
72
+			$fullPath = $this->resolveFile($directory, $fileName.'.php');
73 73
 
74 74
 			if (!empty($fullPath)) {
75 75
 				return ($this->configs[$fileName] = $this->create($fullPath));
@@ -100,9 +100,9 @@  discard block
 block discarded – undo
100 100
 
101 101
 	protected function resolveFile(string $directory, string $file)
102 102
 	{
103
-		$prefix = $directory . DIRECTORY_SEPARATOR;
103
+		$prefix = $directory.DIRECTORY_SEPARATOR;
104 104
 
105
-		$path = realpath($prefix . $file);
105
+		$path = realpath($prefix.$file);
106 106
 
107 107
 		if (empty($path) || !is_file($path) || !is_readable($path)) {
108 108
 			return null;
Please login to merge, or discard this patch.