Completed
Pull Request — master (#560)
by Kévin
03:48
created
src/Bridge/Symfony/Routing/IriConverter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,11 +87,11 @@
 block discarded – undo
87 87
         }
88 88
 
89 89
         if (1 === count($identifiers)) {
90
-            $identifiers = array_map(function ($identifierValue) {
90
+            $identifiers = array_map(function($identifierValue) {
91 91
                 return rawurlencode($identifierValue);
92 92
             }, $identifiers);
93 93
         } else {
94
-            $identifiers = array_map(function ($identifierName, $identifierValue) {
94
+            $identifiers = array_map(function($identifierName, $identifierValue) {
95 95
                 return sprintf('%s=%s', $identifierName, rawurlencode($identifierValue));
96 96
             }, array_keys($identifiers), $identifiers);
97 97
         }
Please login to merge, or discard this patch.
src/Hydra/ApiDocumentationBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@
 block discarded – undo
236 236
             ],
237 237
         ];
238 238
 
239
-        $doc = [ '@context' => $this->getContext(), '@id' => $this->urlGenerator->generate('api_hydra_vocab')];
239
+        $doc = ['@context' => $this->getContext(), '@id' => $this->urlGenerator->generate('api_hydra_vocab')];
240 240
 
241 241
         if ('' !== $this->title) {
242 242
             $doc['hydra:title'] = $this->title;
Please login to merge, or discard this patch.