Completed
Pull Request — master (#550)
by Antoine
03:20
created
src/Bridge/Symfony/Routing/IriConverter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         $identifiers = array_map([$this, 'generateIdentifiersUrl'], $this->getIdentifiersFromItem($item));
81 81
 
82 82
         if (count($identifiers) > 1) {
83
-            $identifiers = array_map(function ($identifierName, $identifierValue) {
83
+            $identifiers = array_map(function($identifierName, $identifierValue) {
84 84
                 return sprintf('%s=%s', $identifierName, rawurlencode($identifierValue));
85 85
             }, array_keys($identifiers), $identifiers);
86 86
         }
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             return rawurlencode(array_values($identifiers)[0]);
106 106
         }
107 107
 
108
-        return array_map(function ($identifierName, $identifierValue) {
108
+        return array_map(function($identifierName, $identifierValue) {
109 109
             return sprintf('%s=%s', $identifierName, $this->generateIdentifiersUrl($identifierValue));
110 110
         }, array_keys($identifiers), $identifiers);
111 111
     }
Please login to merge, or discard this patch.