aboutsummaryrefslogtreecommitdiff
path: root/app/Models/ConfigurationSetter.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/ConfigurationSetter.php')
-rw-r--r--app/Models/ConfigurationSetter.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/Models/ConfigurationSetter.php b/app/Models/ConfigurationSetter.php
index 535f17e2e..3c07db4a0 100644
--- a/app/Models/ConfigurationSetter.php
+++ b/app/Models/ConfigurationSetter.php
@@ -3,8 +3,8 @@
class FreshRSS_ConfigurationSetter {
/**
* Return if the given key is supported by this setter.
- * @param $key the key to test.
- * @return boolean true if the key is supported, false else.
+ * @param string $key the key to test.
+ * @return boolean true if the key is supported, false otherwise.
*/
public function support($key) {
$name_setter = '_' . $key;
@@ -13,9 +13,9 @@ class FreshRSS_ConfigurationSetter {
/**
* Set the given key in data with the current value.
- * @param $data an array containing the list of all configuration data.
- * @param $key the key to update.
- * @param $value the value to set.
+ * @param array $data an array containing the list of all configuration data.
+ * @param string $key the key to update.
+ * @param mixed $value the value to set.
*/
public function handle(&$data, $key, $value) {
$name_setter = '_' . $key;
@@ -25,7 +25,7 @@ class FreshRSS_ConfigurationSetter {
/**
* A helper to set boolean values.
*
- * @param $value the tested value.
+ * @param mixed $value the tested value.
* @return boolean true if value is true and different from no, false else.
*/
private function handleBool($value) {