]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Post.php
Superfluous todo removed
[friendica.git] / src / Object / Post.php
index f8bca15be5a0279af8a8f5af1d8ded80b6512010..fe271b5a87afae50ea6ba75a95923085b440ef18 100644 (file)
@@ -106,7 +106,7 @@ class Post
                                // Only add will be displayed
                                if ($item['network'] === Protocol::MAIL && local_user() != $item['uid']) {
                                        continue;
-                               } elseif (!DI::contentItem()->visibleActivity($item)) {
+                               } elseif (!DI::contentItem()->isVisibleActivity($item)) {
                                        continue;
                                }
 
@@ -747,7 +747,7 @@ class Post
        /**
         * Set conversation thread
         *
-        * @param Thread $thread Thread to set or NULL
+        * @param Thread|null $thread
         * @return void
         */
        public function setThread(Thread $thread = null)
@@ -763,7 +763,7 @@ class Post
        /**
         * Get conversation
         *
-        * @return Thread
+        * @return Thread|null
         */
        public function getThread()
        {