Skip to content

Commit 871e45d

Browse files
Use {} to indicate string interpolation.
1 parent aa33270 commit 871e45d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Controller/API/AbstractRestController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ protected function renderCreateData(
145145
}
146146
}
147147
$headers = [
148-
'Location' => $this->generateUrl("v4_app_api_{$routeType}_single$postfix", $params, UrlGeneratorInterface::ABSOLUTE_URL),
148+
'Location' => $this->generateUrl("v4_app_api_{$routeType}_single{$postfix}", $params, UrlGeneratorInterface::ABSOLUTE_URL),
149149
];
150150
return $this->renderData($request, $data, Response::HTTP_CREATED,
151151
$headers);

0 commit comments

Comments
 (0)