X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fpublicnoticestream.php;h=1dd59059fd7e357f8ce2c2d1676ec6ea391c44ff;hb=b4271a3533bdf12329f27dd75452c1ef2a6ee3d1;hp=4a16cbd235b789a6465b23ced61ee4feef9b1c1d;hpb=d1b294e1acac6de049834f8e921673236a2149c1;p=quix0rs-gnu-social.git diff --git a/lib/publicnoticestream.php b/lib/publicnoticestream.php index 4a16cbd235..1dd59059fd 100644 --- a/lib/publicnoticestream.php +++ b/lib/publicnoticestream.php @@ -43,11 +43,11 @@ if (!defined('GNUSOCIAL')) { exit(1); } class PublicNoticeStream extends ScopingNoticeStream { - function __construct($profile=null) + function __construct(Profile $scoped=null) { parent::__construct(new CachingNoticeStream(new RawPublicNoticeStream(), 'public'), - $profile); + $scoped); } }