@@ -9,7 +9,7 @@ |
||
9 | 9 | use Roukmoute\HashidsBundle\ParamConverter\HashidsParamConverter; |
10 | 10 | use Roukmoute\HashidsBundle\Twig\HashidsExtension; |
11 | 11 | |
12 | -return static function (ContainerConfigurator $container) { |
|
12 | +return static function(ContainerConfigurator $container) { |
|
13 | 13 | $container->services() |
14 | 14 | ->set(HashidsInterface::class, Hashids::class) |
15 | 15 | ->args([param('hashids.salt'), param('hashids.min_hash_length'), param('hashids.alphabet')]) |
@@ -79,7 +79,7 @@ |
||
79 | 79 | |
80 | 80 | private function getHash(Request $request, ?string $name) |
81 | 81 | { |
82 | - $attributes = array_map(function ($name) { |
|
82 | + $attributes = array_map(function($name) { |
|
83 | 83 | return str_replace('_hash_', '', $name); |
84 | 84 | }, $request->attributes->keys()); |
85 | 85 |