aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Share.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Share.php')
-rw-r--r--app/Models/Share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Share.php b/app/Models/Share.php
index 5bacfc381..ae2c4a6b8 100644
--- a/app/Models/Share.php
+++ b/app/Models/Share.php
@@ -15,7 +15,7 @@ class FreshRSS_Share {
* @param array{'type':string,'url':string,'transform'?:array<callable>|array<string,array<callable>>,'field'?:string,'help'?:string,'form'?:'simple'|'advanced',
* 'method'?:'GET'|'POST','HTMLtag'?:'button','deprecated'?:bool} $share_options is an array defining the share option.
*/
- private static function register(array $share_options): void {
+ public static function register(array $share_options): void {
$type = $share_options['type'];
if (isset(self::$list_sharing[$type])) {
return;