Passed
Pull Request — master (#20)
by Mathias
01:32
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
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
             return null;
84 84
         }
85 85
 
86
-        $attributes = array_map(function ($name) {
86
+        $attributes = array_map(function($name) {
87 87
             return str_replace('_hash_', '', $name);
88 88
         }, $request->attributes->keys());
89 89
 
Please login to merge, or discard this patch.