From 0f3529b29424117883958460677298755b36070c Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Sat, 24 Oct 2020 09:14:05 -0400 Subject: [PATCH] Use mixed instead of any in doc comments. --- .../src/VuFindTheme/View/Helper/Slot.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/module/VuFindTheme/src/VuFindTheme/View/Helper/Slot.php b/module/VuFindTheme/src/VuFindTheme/View/Helper/Slot.php index 294e29a0c28..bc69b5bb747 100644 --- a/module/VuFindTheme/src/VuFindTheme/View/Helper/Slot.php +++ b/module/VuFindTheme/src/VuFindTheme/View/Helper/Slot.php @@ -79,9 +79,9 @@ class Slot extends \Laminas\View\Helper\AbstractHelper * Get the Slot instance. Create if instance doesn't exist. * * @param string $name Name of target block for action - * @param any $value Optional shortcut parameter to set a value + * @param mixed $value Optional shortcut parameter to set a value * - * @return Slot|string|any + * @return Slot|string|mixed */ public function __invoke($name, $value = null) { @@ -95,7 +95,7 @@ class Slot extends \Laminas\View\Helper\AbstractHelper /** * Shortcut to get if no methods are called on invoke. * - * @return string|any + * @return string|mixed */ public function __toString() { @@ -124,7 +124,7 @@ class Slot extends \Laminas\View\Helper\AbstractHelper * * @param string $name Name of target block for action * - * @return string|any + * @return string|mixed */ protected function build($name) { @@ -144,7 +144,7 @@ class Slot extends \Laminas\View\Helper\AbstractHelper /** * Get current value of slot. Returns null if unset. * - * @param any $default Value to return if no value is set + * @param mixed $default Value to return if no value is set * * @return string|null */ @@ -158,7 +158,7 @@ class Slot extends \Laminas\View\Helper\AbstractHelper /** * Set current value of slot but only if unset. * - * @param any $value Value to override if unset + * @param mixed $value Value to override if unset * * @return string|null */ @@ -223,7 +223,7 @@ class Slot extends \Laminas\View\Helper\AbstractHelper * * @param string $method SET/PREPEND/APPEND for where this buffer should be saved * - * @return string|any + * @return string|mixed */ public function end($method = self::SET) { -- GitLab