From 962c33259d03e8985274101770e596ba808757de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Monta=C3=B1ez?= Date: Sun, 8 Jan 2017 02:38:21 -0300 Subject: [PATCH] [Nostromo] Scrutinizer recommendations --- src/Mage/Runtime/Runtime.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Mage/Runtime/Runtime.php b/src/Mage/Runtime/Runtime.php index 446f923..8b23209 100644 --- a/src/Mage/Runtime/Runtime.php +++ b/src/Mage/Runtime/Runtime.php @@ -126,8 +126,8 @@ class Runtime /** * Sets a value in the Vars bag * - * @param mixed $key Variable name - * @param mixed $value Variable value + * @param string $key Variable name + * @param string $value Variable value * @return Runtime */ public function setVar($key, $value) @@ -139,9 +139,9 @@ class Runtime /** * Retrieve a value from the Vars bag * - * @param mixed $key Variable name - * @param mixed $default Variable default value, returned if not found - * @return mixed + * @param string $key Variable name + * @param string $default Variable default value, returned if not found + * @return string */ public function getVar($key, $default = null) { @@ -207,7 +207,7 @@ class Runtime * If $key is provided, it will be returned only that section, if not found the default value will be returned, * if $key is not provided, the whole Environment's configuration will be returned * - * @param mixed $key Section name + * @param string $key Section name * @param mixed $default Default value * @return mixed */