]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/SiteNoticeInSidebar/SiteNoticeInSidebarPlugin.php
Merge remote-tracking branch 'upstream/master' into social-master
[quix0rs-gnu-social.git] / plugins / SiteNoticeInSidebar / SiteNoticeInSidebarPlugin.php
index b487d867204a51414fb8a8ce9f7fa25ef0d14140..869a88dfc9278233485ce6ec9490a5cd9c9dd728 100644 (file)
@@ -55,12 +55,12 @@ class SiteNoticeInSidebarPlugin extends Plugin
      * @return
      */
 
-    function onStartShowSiteNotice($action)
+    function onStartShowSiteNotice(Action $action)
     {
         return false;
     }
 
-    function onStartShowSections($action)
+    function onStartShowSections(Action $action)
     {
         $text = common_config('site', 'notice');
         if (!empty($text)) {
@@ -70,7 +70,7 @@ class SiteNoticeInSidebarPlugin extends Plugin
         return true;
     }
 
-    function onEndShowStyles($action)
+    function onEndShowStyles(Action $action)
     {
         $action->element('style', null, '#site_notice { width: 100% }');
         return true;