namespace Friendica\Content\Conversation\Repository;
use Friendica\BaseCollection;
-use Friendica\Content\Conversation\Entity\Timeline as EntityTimeline;
+use Friendica\Content\Conversation\Entity\Timeline as TimelineEntity;
use Friendica\Content\Conversation\Factory\Timeline;
use Friendica\Database\Database;
use Psr\Log\LoggerInterface;
*
* @param int $id
* @param int $uid
- * @return EntityTimeline
+ * @return TimelineEntity
* @throws \Friendica\Network\HTTPException\NotFoundException
*/
- public function selectById(int $id, int $uid): EntityTimeline
+ public function selectById(int $id, int $uid): TimelineEntity
{
return $this->_selectOne(['id' => $id, 'uid' => $uid]);
}
return $this->_select(['uid' => $uid]);
}
- public function save(EntityTimeline $Channel): EntityTimeline
+ public function save(TimelineEntity $Channel): TimelineEntity
{
$fields = [
'label' => $Channel->label,
use Friendica\Content\Conversation;
use Friendica\Content\Conversation\Entity\Timeline as TimelineEntity;
use Friendica\Content\Conversation\Factory\Timeline as TimelineFactory;
-use Friendica\Content\Conversation\Repository\Channel as RepositoryChannel;
+use Friendica\Content\Conversation\Repository\Channel as ChannelRepository;
use Friendica\Content\Feature;
use Friendica\Content\Nav;
use Friendica\Content\Text\HTML;
/** @var SystemMessages */
protected $systemMessages;
- public function __construct(RepositoryChannel $channel, TimelineFactory $timeline, Conversation $conversation, App\Page $page, SystemMessages $systemMessages, Mode $mode, IHandleUserSessions $session, Database $database, IManagePersonalConfigValues $pConfig, IManageConfigValues $config, ICanCache $cache, L10n $l10n, App\BaseURL $baseUrl, App\Arguments $args, LoggerInterface $logger, Profiler $profiler, Response $response, array $server, array $parameters = [])
+ public function __construct(ChannelRepository $channel, TimelineFactory $timeline, Conversation $conversation, App\Page $page, SystemMessages $systemMessages, Mode $mode, IHandleUserSessions $session, Database $database, IManagePersonalConfigValues $pConfig, IManageConfigValues $config, ICanCache $cache, L10n $l10n, App\BaseURL $baseUrl, App\Arguments $args, LoggerInterface $logger, Profiler $profiler, Response $response, array $server, array $parameters = [])
{
parent::__construct($channel, $mode, $session, $database, $pConfig, $config, $cache, $l10n, $baseUrl, $args, $logger, $profiler, $response, $server, $parameters);