diff --git a/module/VuFind/src/VuFind/RecordDriver/IlsAwareDelegatorFactory.php b/module/VuFind/src/VuFind/RecordDriver/IlsAwareDelegatorFactory.php index 7d505d18d76a2a15b57ff2e58baf737801b592dc..de9a28fca9b2ae089d4ce095e0f0bf3aab004e91 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 2f5222749f7d61f148765fc6bdb17658fa8917c9..edfb35daf94ec5927943619f45f65a24bd655b79 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 2b8ecc1b0aefcf9297295c39c45458497eb3a250..bbcbf4f931733ae4d14e43a50783c623719c3bcd 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) {