aboutsummaryrefslogtreecommitdiff
path: root/app/Models/ConfigurationSetter.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-05-08 10:27:18 +0200
committerGravatar GitHub <noreply@github.com> 2021-05-08 10:27:18 +0200
commit607f7e725487ce0eb0339b288ce9e58036dad4a0 (patch)
tree5143afbcdcf15e22b70a93e1f4744cc85eea8517 /app/Models/ConfigurationSetter.php
parent224b20edd16a6abd4879fe0e9e0f4c1608c9accf (diff)
Fix several comments syntaxes (#3615)
Mainly wrong `@return` types in comments
Diffstat (limited to 'app/Models/ConfigurationSetter.php')
-rw-r--r--app/Models/ConfigurationSetter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/ConfigurationSetter.php b/app/Models/ConfigurationSetter.php
index 2a5f59226..6fc056eb2 100644
--- a/app/Models/ConfigurationSetter.php
+++ b/app/Models/ConfigurationSetter.php
@@ -4,7 +4,7 @@ class FreshRSS_ConfigurationSetter {
/**
* Return if the given key is supported by this setter.
* @param $key the key to test.
- * @return true if the key is supported, false else.
+ * @return boolean true if the key is supported, false else.
*/
public function support($key) {
$name_setter = '_' . $key;
@@ -26,7 +26,7 @@ class FreshRSS_ConfigurationSetter {
* A helper to set boolean values.
*
* @param $value the tested value.
- * @return true if value is true and different from no, false else.
+ * @return boolean true if value is true and different from no, false else.
*/
private function handleBool($value) {
return ((bool)$value) && $value !== 'no';