]> git.mxchange.org Git - friendica.git/commitdiff
Ops, cannot return Thread?
authorRoland Häder <roland@mxchange.org>
Thu, 23 Jun 2022 07:57:42 +0000 (09:57 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 23 Jun 2022 15:30:12 +0000 (17:30 +0200)
src/Object/Post.php

index 63ac91904cd75899b91d784247a9e1653f53d715..90b74d4dd18a2622bc942c88fac2a858bcad4f83 100644 (file)
@@ -743,7 +743,7 @@ class Post
        /**
         * Set conversation thread
         *
-        * @param Thread $thread
+        * @param Thread $thread Thread to set or NULL
         * @return void
         */
        public function setThread(Thread $thread = null)
@@ -761,7 +761,7 @@ class Post
         *
         * @return Thread
         */
-       public function getThread(): Thread
+       public function getThread()
        {
                return $this->thread;
        }