Passed
Pull Request — master (#20)
by Mathias
02:00
created
Resources/config/services.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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')])
Please login to merge, or discard this patch.
src/ParamConverter/HashidsParamConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.