Skip to content

Commit

Permalink
Use {} to indicate string interpolation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicky Gerritsen committed Feb 10, 2024
1 parent da350ae commit 044fbf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/Controller/API/AbstractRestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ protected function renderCreateData(
}
}
$headers = [
'Location' => $this->generateUrl("v4_app_api_{$routeType}_single$postfix", $params, UrlGeneratorInterface::ABSOLUTE_URL),
'Location' => $this->generateUrl("v4_app_api_{$routeType}_single{$postfix}", $params, UrlGeneratorInterface::ABSOLUTE_URL),
];
return $this->renderData($request, $data, Response::HTTP_CREATED,
$headers);
Expand Down

0 comments on commit 044fbf3

Please sign in to comment.