@@ -87,11 +87,11 @@ |
||
| 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 | } |
@@ -236,7 +236,7 @@ |
||
| 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; |