aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Share.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/Share.php
parent224b20edd16a6abd4879fe0e9e0f4c1608c9accf (diff)
Fix several comments syntaxes (#3615)
Mainly wrong `@return` types in comments
Diffstat (limited to 'app/Models/Share.php')
-rw-r--r--app/Models/Share.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/Share.php b/app/Models/Share.php
index 7988a021f..f536418fc 100644
--- a/app/Models/Share.php
+++ b/app/Models/Share.php
@@ -51,7 +51,7 @@ class FreshRSS_Share {
/**
* Return the list of sharing options.
- * @return an array of FreshRSS_Share objects.
+ * @return array[FreshRSS_Share]
*/
public static function enum() {
return self::$list_sharing;
@@ -255,7 +255,7 @@ class FreshRSS_Share {
* Transform a data with the given functions.
* @param $data the data to transform.
* @param $tranform an array containing a list of functions to apply.
- * @return the transformed data.
+ * @return mixed the transformed data.
*/
private static function transform($data, $transform) {
if (!is_array($transform) || empty($transform)) {