aboutsummaryrefslogtreecommitdiff
path: root/lib/lib_rss.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 /lib/lib_rss.php
parent224b20edd16a6abd4879fe0e9e0f4c1608c9accf (diff)
Fix several comments syntaxes (#3615)
Mainly wrong `@return` types in comments
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index 0c6191690..3cacc8390 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -19,7 +19,7 @@ if (COPY_SYSLOG_TO_STDERR) {
* Build a directory path by concatenating a list of directory names.
*
* @param $path_parts a list of directory names
- * @return a string corresponding to the final pathname
+ * @return string corresponding to the final pathname
*/
function join_path() {
$path_parts = func_get_args();
@@ -333,7 +333,7 @@ function listUsers() {
*
* Note a max_regstrations of 0 means there is no limit.
*
- * @return true if number of users >= max registrations, false else.
+ * @return boolean true if number of users >= max registrations, false else.
*/
function max_registrations_reached() {
$limit_registrations = FreshRSS_Context::$system_conf->limits['max_registrations'];
@@ -350,7 +350,7 @@ function max_registrations_reached() {
* objects. If you need a long-time configuration, please don't use this function.
*
* @param $username the name of the user of which we want the configuration.
- * @return a Minz_Configuration object, null if the configuration cannot be loaded.
+ * @return Minz_Configuration object, null if the configuration cannot be loaded.
*/
function get_user_configuration($username) {
if (!FreshRSS_user_Controller::checkUsername($username)) {
@@ -499,7 +499,7 @@ function recursive_unlink($dir) {
* Remove queries where $get is appearing.
* @param $get the get attribute which should be removed.
* @param $queries an array of queries.
- * @return the same array whithout those where $get is appearing.
+ * @return array whithout queries where $get is appearing.
*/
function remove_query_by_get($get, $queries) {
$final_queries = array();