Passed
Pull Request — master (#20)
by Mathias
02:24
created
src/ParamConverter/HashidsParamConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     {
62 62
         $name = $configuration->getName();
63 63
 
64
-        $attributes = array_map(function ($name) {
64
+        $attributes = array_map(function($name) {
65 65
             return str_replace('_hash_', '', $name);
66 66
         }, $request->attributes->keys());
67 67
 
Please login to merge, or discard this patch.
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.