@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | */ |
| 62 | 62 | protected function registerPublishConfig() |
| 63 | 63 | { |
| 64 | - $publishPath = $this->app['path.config'] . DIRECTORY_SEPARATOR . static::CONFIG_FILE_NAME_WO_EXT . '.php'; |
|
| 64 | + $publishPath = $this->app['path.config'].DIRECTORY_SEPARATOR.static::CONFIG_FILE_NAME_WO_EXT.'.php'; |
|
| 65 | 65 | $this->publishes([ |
| 66 | 66 | $this->getConfigPath() => $publishPath, |
| 67 | 67 | ]); |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | */ |
| 82 | 82 | protected function getCreateAnalysisStrategyClosure() |
| 83 | 83 | { |
| 84 | - return function ($app) { |
|
| 84 | + return function($app) { |
|
| 85 | 85 | /** @var Repository $config */ |
| 86 | 86 | $config = $app['config']; |
| 87 | 87 | $settings = $config->get(static::CONFIG_FILE_NAME_WO_EXT, []); |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | */ |
| 97 | 97 | protected function getCreateAnalyzerClosure() |
| 98 | 98 | { |
| 99 | - return function ($app) { |
|
| 99 | + return function($app) { |
|
| 100 | 100 | /** @var AnalysisStrategyInterface $strategy */ |
| 101 | 101 | $strategy = $app[AnalysisStrategyInterface::class]; |
| 102 | 102 | $analyzer = Analyzer::instance($strategy); |
@@ -110,8 +110,8 @@ discard block |
||
| 110 | 110 | */ |
| 111 | 111 | private function getConfigPath() |
| 112 | 112 | { |
| 113 | - $root = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR; |
|
| 114 | - $path = $root . 'config' . DIRECTORY_SEPARATOR . static::CONFIG_FILE_NAME_WO_EXT . '.php'; |
|
| 113 | + $root = __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR; |
|
| 114 | + $path = $root.'config'.DIRECTORY_SEPARATOR.static::CONFIG_FILE_NAME_WO_EXT.'.php'; |
|
| 115 | 115 | |
| 116 | 116 | return $path; |
| 117 | 117 | } |