]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Thread.php
Fix doc blocks and return value type
[friendica.git] / src / Object / Thread.php
index 426e9f802c0b326b54e0018fe45574171e3a9718..89ed5a9408bd506e7f340db4ec3b82ce33410e01 100644 (file)
@@ -7,7 +7,6 @@ namespace Friendica\Object;
 use Friendica\BaseObject;
 use Friendica\Core\Logger;
 use Friendica\Core\Protocol;
-use Friendica\Object\Post;
 use Friendica\Util\Security;
 
 /**
@@ -171,7 +170,7 @@ class Thread extends BaseObject
         *
         * We should find a way to avoid using those arguments (at least most of them)
         *
-        * @param object $conv_responses data
+        * @param array $conv_responses data
         *
         * @return mixed The data requested on success
         *               false on failure
@@ -179,9 +178,7 @@ class Thread extends BaseObject
         */
        public function getTemplateData($conv_responses)
        {
-               $a = self::getApp();
                $result = [];
-               $i = 0;
 
                foreach ($this->parents as $item) {
                        if ($item->getDataValue('network') === Protocol::MAIL && local_user() != $item->getDataValue('uid')) {