Skip to content

Commit

Permalink
Style fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz committed Jul 5, 2024
1 parent 4d8bb36 commit 3c8b016
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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']] = '<b>' . htmlspecialchars($row['Editions_Attribute_Name']) . '</b>: ' . htmlspecialchars($row['Editions_Attribute_Value']);
$result[$row['Item_ID']] = '<b>' . htmlspecialchars($row['Editions_Attribute_Name']) . '</b>: '
. htmlspecialchars($row['Editions_Attribute_Value']);
}
return $this->jsonDie($result, true);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 3c8b016

Please sign in to comment.