@@ -34,7 +34,7 @@ |
||
34 | 34 | */ |
35 | 35 | public static function configureContainer(LimoncelloContainerInterface $container): void |
36 | 36 | { |
37 | - $container[TemplatesInterface::class] = function (PsrContainerInterface $container) { |
|
37 | + $container[TemplatesInterface::class] = function(PsrContainerInterface $container) { |
|
38 | 38 | $settings = $container->get(SettingsProviderInterface::class)->get(C::class); |
39 | 39 | $templates = new TwigTemplates($settings[C::KEY_TEMPLATES_FOLDER], $settings[C::KEY_CACHE_FOLDER]); |
40 | 40 |
@@ -43,9 +43,9 @@ |
||
43 | 43 | { |
44 | 44 | assert(is_dir($templatesFolder) === true); |
45 | 45 | |
46 | - return iterator_to_array(call_user_func(function () use ($templatesFolder) { |
|
46 | + return iterator_to_array(call_user_func(function() use ($templatesFolder) { |
|
47 | 47 | $globIterator = new GlobIterator( |
48 | - $templatesFolder . DIRECTORY_SEPARATOR . '*.html.twig', |
|
48 | + $templatesFolder.DIRECTORY_SEPARATOR.'*.html.twig', |
|
49 | 49 | GlobIterator::SKIP_DOTS | GlobIterator::CURRENT_AS_FILEINFO |
50 | 50 | ); |
51 | 51 | foreach ($globIterator as $fileInfo) { |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | */ |
95 | 95 | public static function execute(ContainerInterface $container, IoInterface $inOut): void |
96 | 96 | { |
97 | - $action = $inOut->getArgument(static::ARG_ACTION); |
|
97 | + $action = $inOut->getArgument(static::ARG_ACTION); |
|
98 | 98 | switch ($action) { |
99 | 99 | case static::ACTION_CREATE_CACHE: |
100 | 100 | (new self())->executeCache($container); |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | (new self())->executeClear($container); |
104 | 104 | break; |
105 | 105 | default: |
106 | - $inOut->writeError("Unsupported action `$action`." . PHP_EOL); |
|
106 | + $inOut->writeError("Unsupported action `$action`.".PHP_EOL); |
|
107 | 107 | break; |
108 | 108 | } |
109 | 109 | } |