Changed class names

This commit is contained in:
Michael 2023-09-19 14:23:02 +00:00
parent 5056c95d60
commit 63921ccfca
2 changed files with 6 additions and 6 deletions

View file

@ -22,7 +22,7 @@
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;
@ -41,10 +41,10 @@ class Channel extends \Friendica\BaseRepository
*
* @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]);
}
@ -72,7 +72,7 @@ class Channel extends \Friendica\BaseRepository
return $this->_select(['uid' => $uid]);
}
public function save(EntityTimeline $Channel): EntityTimeline
public function save(TimelineEntity $Channel): TimelineEntity
{
$fields = [
'label' => $Channel->label,

View file

@ -27,7 +27,7 @@ use Friendica\Content\BoundariesPager;
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;
@ -58,7 +58,7 @@ class Channel extends Timeline
/** @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);