]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticesection.php
Stronger typing for NoticeListItem and so
[quix0rs-gnu-social.git] / lib / noticesection.php
index 4a4eac344a3b95e955e5bcd22fa26eeb19113a50..c1fcbbf8cd1fcf904d875b882e89c04f45ad174c 100644 (file)
@@ -70,7 +70,7 @@ class NoticeSection extends Section
         return null;
     }
 
-    function showNotice($notice)
+    function showNotice(Notice $notice)
     {
         $profile = $notice->getProfile();
         if (empty($profile)) {