@@ -41,7 +41,7 @@ |
||
41 | 41 | if (!empty($filename)) { |
42 | 42 | $pathToFile = stream_resolve_include_path($filename); |
43 | 43 | if (!$pathToFile || !is_readable($pathToFile)) { |
44 | - throw new Exception(sprintf('Cannot open bootstrap file "%s".' . PHP_EOL, $filename)); |
|
44 | + throw new Exception(sprintf('Cannot open bootstrap file "%s".'.PHP_EOL, $filename)); |
|
45 | 45 | } |
46 | 46 | require $pathToFile; |
47 | 47 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | $bs = $bootstrapper ?? new Bootstrapper(); |
45 | 45 | $ext = pathinfo($filename, PATHINFO_EXTENSION); |
46 | 46 | $type = isset(self::$extToLoaderMap[$ext]) ? self::$extToLoaderMap[$ext] : self::DEFAULT_LOADER; |
47 | - $class = '\\phpbu\\App\\Configuration\\Loader\\' . $type; |
|
47 | + $class = '\\phpbu\\App\\Configuration\\Loader\\'.$type; |
|
48 | 48 | |
49 | 49 | return new $class($filename, $bs); |
50 | 50 | } |