@@ -34,7 +34,7 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | public function provideDependencies(Container $container): void |
| 36 | 36 | { |
| 37 | - $container->register(TwigFacadeInterface::class, function ( |
|
| 37 | + $container->register(TwigFacadeInterface::class, function( |
|
| 38 | 38 | KernelInterface $kernel |
| 39 | 39 | ) { |
| 40 | 40 | /** @psalm-suppress InaccessibleProperty */ |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | /** |
| 14 | 14 | * {@inheritdoc} |
| 15 | 15 | */ |
| 16 | - public function render(string $template, array $arguments = []): string |
|
| 16 | + public function render(string $template, array $arguments = [ ]): string |
|
| 17 | 17 | { |
| 18 | 18 | return $this->twigRendererFactory |
| 19 | 19 | ->create() |
@@ -41,9 +41,9 @@ |
||
| 41 | 41 | protected function registerTemplates(FilesystemLoader $loader, array $paths, string $namespace = null) |
| 42 | 42 | { |
| 43 | 43 | foreach ($paths as $path) { |
| 44 | - $args = [$path]; |
|
| 44 | + $args = [ $path ]; |
|
| 45 | 45 | if (null !== $namespace) { |
| 46 | - $args[] = $namespace; |
|
| 46 | + $args[ ] = $namespace; |
|
| 47 | 47 | } |
| 48 | 48 | $loader->addPath(...$args); |
| 49 | 49 | } |