From 7ef648d2f74d525d8ad5ea22b3c743297d75d878 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Mon, 9 Jul 2018 12:01:03 -0400
Subject: [PATCH] Improve comments.

---
 .../src/VuFind/RecordDriver/IlsAwareDelegatorFactory.php      | 4 +++-
 module/VuFind/src/VuFind/Session/SecureDelegatorFactory.php   | 2 ++
 module/VuFindConsole/Module.php                               | 2 ++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/module/VuFind/src/VuFind/RecordDriver/IlsAwareDelegatorFactory.php b/module/VuFind/src/VuFind/RecordDriver/IlsAwareDelegatorFactory.php
index 7d505d18d76..de9a28fca9b 100644
--- a/module/VuFind/src/VuFind/RecordDriver/IlsAwareDelegatorFactory.php
+++ b/module/VuFind/src/VuFind/RecordDriver/IlsAwareDelegatorFactory.php
@@ -49,7 +49,9 @@ class IlsAwareDelegatorFactory implements DelegatorFactoryInterface
      * @param callable           $callback  Service callback
      * @param array|null         $options   Service options
      *
-     * @return SecureDelegator
+     * @return AbstractBase
+     *
+     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
      */
     public function __invoke(ContainerInterface $container, $name,
         callable $callback, array $options = null
diff --git a/module/VuFind/src/VuFind/Session/SecureDelegatorFactory.php b/module/VuFind/src/VuFind/Session/SecureDelegatorFactory.php
index 2f5222749f7..edfb35daf94 100644
--- a/module/VuFind/src/VuFind/Session/SecureDelegatorFactory.php
+++ b/module/VuFind/src/VuFind/Session/SecureDelegatorFactory.php
@@ -54,6 +54,8 @@ class SecureDelegatorFactory implements DelegatorFactoryInterface
      * @param array|null         $options   Service options
      *
      * @return SecureDelegator
+     *
+     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
      */
     public function __invoke(
         ContainerInterface $container, $name, callable $callback,
diff --git a/module/VuFindConsole/Module.php b/module/VuFindConsole/Module.php
index 2b8ecc1b0ae..bbcbf4f9317 100644
--- a/module/VuFindConsole/Module.php
+++ b/module/VuFindConsole/Module.php
@@ -79,6 +79,8 @@ class Module implements \Zend\ModuleManager\Feature\ConsoleUsageProviderInterfac
      * @param Console $console Console adapter
      *
      * @return string|null
+     *
+     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
      */
     public function getConsoleBanner(Console $console)
     {
-- 
GitLab