Skip to content

Commit

Permalink
DGIR-130 : Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Prashant-bd committed Dec 11, 2023
1 parent 336b388 commit a7a52f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/IslandoraCitationsHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ public function renderWithCiteproc(array $data, string $style, string $mode = 'b
*/
public function encodeEntityForCiteproc(EntityInterface $entity): object {
try {
$cslEncodedData = $this->serializer->normalize($entity, 'csl-json');
return (object) $cslEncodedData;
$cslEncodedData = $this->serializer->normalize($entity, 'csl-json');
return (object) $cslEncodedData;
}
catch (\Exception $e) {
$this->logger->error($e->getMessage());
Expand Down

0 comments on commit a7a52f3

Please sign in to comment.