From a7a52f30015372d04193211228f2e2a9b7a94980 Mon Sep 17 00:00:00 2001 From: Prashant Kanse Date: Mon, 11 Dec 2023 23:57:10 +0530 Subject: [PATCH] DGIR-130 : Fix indentation --- src/IslandoraCitationsHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/IslandoraCitationsHelper.php b/src/IslandoraCitationsHelper.php index 4e85f16..3da87d1 100644 --- a/src/IslandoraCitationsHelper.php +++ b/src/IslandoraCitationsHelper.php @@ -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());