@@ -70,13 +70,13 @@ discard block |
||
| 70 | 70 | $this->app->singleton(Importer::class, Agent::class); |
| 71 | 71 | $this->app->singleton( |
| 72 | 72 | ConfigProvider::class, |
| 73 | - function (): ConfigProvider { |
|
| 73 | + function(): ConfigProvider { |
|
| 74 | 74 | return $this->configProvider; |
| 75 | 75 | } |
| 76 | 76 | ); |
| 77 | 77 | $this->app->singleton( |
| 78 | 78 | ProcessorContract::class, |
| 79 | - function (): ProcessorContract { |
|
| 79 | + function(): ProcessorContract { |
|
| 80 | 80 | return new Processor( |
| 81 | 81 | resolve(ImportExtractor::class), |
| 82 | 82 | resolve(FontFaceExtractor::class), |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | ); |
| 89 | 89 | $this->app->singleton( |
| 90 | 90 | LoggerContract::class, |
| 91 | - function (): ReliqArtsLoggerContract { |
|
| 91 | + function(): ReliqArtsLoggerContract { |
|
| 92 | 92 | $logger = new ReliqArtsLogger($this->getLoggerName()); |
| 93 | 93 | $logFile = storage_path(sprintf('logs/%s.log', self::LOG_FILENAME)); |
| 94 | 94 | $logger->pushHandler(new StreamHandler($logFile, ReliqArtsLogger::DEBUG)); |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | $viewFactory = resolve(ViewFactory::class); |
| 104 | 104 | $viewFactory->composer( |
| 105 | 105 | '*', |
| 106 | - function (View $view): void { |
|
| 106 | + function(View $view): void { |
|
| 107 | 107 | $view->with('styleImporter', resolve(Importer::class)); |
| 108 | 108 | $view->with('styleImporterConfigProvider', resolve(ConfigProvider::class)); |
| 109 | 109 | $view->with($this->configProvider->getCurrentViewNameVariableName(), $view->getName()); |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | return array_map( |
| 27 | - function (string $match): Extractable { |
|
| 27 | + function(string $match): Extractable { |
|
| 28 | 28 | return $this->createExtractable($match); |
| 29 | 29 | }, |
| 30 | 30 | $matches[1] |