From 5ab7f2dbce142173f3623cd551c2cff681342330 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Mon, 9 Jul 2018 11:56:26 -0400 Subject: [PATCH] Flag some intentionally unused parameters. --- module/VuFind/src/VuFind/RecordDriver/DefaultRecord.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module/VuFind/src/VuFind/RecordDriver/DefaultRecord.php b/module/VuFind/src/VuFind/RecordDriver/DefaultRecord.php index 93907689fd8..81cc76ed47b 100644 --- a/module/VuFind/src/VuFind/RecordDriver/DefaultRecord.php +++ b/module/VuFind/src/VuFind/RecordDriver/DefaultRecord.php @@ -505,6 +505,8 @@ class DefaultRecord extends AbstractBase * @param string $field Field name * * @return mixed Caption if found, false if none available. + * + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function getSnippetCaption($field) { @@ -1387,6 +1389,8 @@ class DefaultRecord extends AbstractBase * * @return mixed An associative array of hierarchy trees on success * (id => title), false if no hierarchies found + * + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function getHierarchyTrees($hierarchyID = false) { -- GitLab