@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | */ |
| 86 | 86 | protected function registerPublishConfig() |
| 87 | 87 | { |
| 88 | - $publishPath = $this->app['path.config'] . DIRECTORY_SEPARATOR . static::CONFIG_FILE_NAME_WO_EXT . '.php'; |
|
| 88 | + $publishPath = $this->app['path.config'].DIRECTORY_SEPARATOR.static::CONFIG_FILE_NAME_WO_EXT.'.php'; |
|
| 89 | 89 | $this->publishes([ |
| 90 | 90 | $this->getConfigPath() => $publishPath, |
| 91 | 91 | ]); |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | */ |
| 106 | 106 | protected function getCreateAnalysisStrategyClosure() |
| 107 | 107 | { |
| 108 | - return function () { |
|
| 108 | + return function() { |
|
| 109 | 109 | $settings = $this->getSettings(); |
| 110 | 110 | $strategy = new Settings($settings); |
| 111 | 111 | |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | */ |
| 119 | 119 | protected function getCreateAnalyzerClosure() |
| 120 | 120 | { |
| 121 | - return function ($app) { |
|
| 121 | + return function($app) { |
|
| 122 | 122 | /** @var AnalysisStrategyInterface $strategy */ |
| 123 | 123 | $strategy = $app[AnalysisStrategyInterface::class]; |
| 124 | 124 | $analyzer = Analyzer::instance($strategy); |
@@ -135,8 +135,8 @@ discard block |
||
| 135 | 135 | */ |
| 136 | 136 | protected function getConfigPath() |
| 137 | 137 | { |
| 138 | - $root = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR; |
|
| 139 | - $path = $root . 'config' . DIRECTORY_SEPARATOR . static::CONFIG_FILE_NAME_WO_EXT . '.php'; |
|
| 138 | + $root = __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR; |
|
| 139 | + $path = $root.'config'.DIRECTORY_SEPARATOR.static::CONFIG_FILE_NAME_WO_EXT.'.php'; |
|
| 140 | 140 | |
| 141 | 141 | return $path; |
| 142 | 142 | } |