From 3c8b01647a2d08a6001991a0a6a959b509ce340d Mon Sep 17 00:00:00 2001 From: Demian Katz Date: Fri, 5 Jul 2024 10:42:08 -0400 Subject: [PATCH] Style fixes. --- .../GeebyDeeby/src/GeebyDeeby/Controller/SearchController.php | 3 ++- .../src/GeebyDeeby/Db/Table/EditionsAttributesValues.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/module/GeebyDeeby/src/GeebyDeeby/Controller/SearchController.php b/module/GeebyDeeby/src/GeebyDeeby/Controller/SearchController.php index 3c4a4104..a7869bde 100644 --- a/module/GeebyDeeby/src/GeebyDeeby/Controller/SearchController.php +++ b/module/GeebyDeeby/src/GeebyDeeby/Controller/SearchController.php @@ -93,7 +93,8 @@ public function editionAttributeAjaxAction() $result = []; foreach ($this->getDbTable('editionsattributesvalues')->getAttributesForItem($ids, $attributeId) as $row) { // We only want to display one value per item, so it doesn't matter if we overwrite existing data here: - $result[$row['Item_ID']] = '' . htmlspecialchars($row['Editions_Attribute_Name']) . ': ' . htmlspecialchars($row['Editions_Attribute_Value']); + $result[$row['Item_ID']] = '' . htmlspecialchars($row['Editions_Attribute_Name']) . ': ' + . htmlspecialchars($row['Editions_Attribute_Value']); } return $this->jsonDie($result, true); } diff --git a/module/GeebyDeeby/src/GeebyDeeby/Db/Table/EditionsAttributesValues.php b/module/GeebyDeeby/src/GeebyDeeby/Db/Table/EditionsAttributesValues.php index aaf6f36c..3d1641bc 100644 --- a/module/GeebyDeeby/src/GeebyDeeby/Db/Table/EditionsAttributesValues.php +++ b/module/GeebyDeeby/src/GeebyDeeby/Db/Table/EditionsAttributesValues.php @@ -82,8 +82,8 @@ public function getAttributesForEdition($editionID) /** * Get a list of attributes for the specified item. * - * @param int|int[] $itemID Item ID (or array of IDs) - * @param ?int $attributeID Attribute ID filter (null for all attributes) + * @param int|int[] $itemID Item ID (or array of IDs) + * @param ?int $attributeID Attribute ID filter (null for all attributes) * * @return mixed */