mirror of
https://github.com/friendica/friendica
synced 2025-04-29 02:24:22 +02:00
Rename Depository to Repository
This commit is contained in:
parent
b407fbedc1
commit
5d92713a8e
17 changed files with 84 additions and 85 deletions
|
@ -32,7 +32,7 @@ use Friendica\Model\Contact;
|
|||
use Friendica\Model\Post;
|
||||
use Friendica\Module\BaseNotifications;
|
||||
use Friendica\Navigation\Notifications\Collection\FormattedNotifications;
|
||||
use Friendica\Navigation\Notifications\Depository;
|
||||
use Friendica\Navigation\Notifications\Repository;
|
||||
use Friendica\Navigation\Notifications\ValueObject;
|
||||
use Friendica\Network\HTTPException\InternalServerErrorException;
|
||||
use Friendica\Protocol\Activity;
|
||||
|
@ -54,14 +54,14 @@ class FormattedNotification extends BaseFactory
|
|||
{
|
||||
/** @var Database */
|
||||
private $dba;
|
||||
/** @var Depository\Notify */
|
||||
/** @var Repository\Notify */
|
||||
private $notify;
|
||||
/** @var BaseURL */
|
||||
private $baseUrl;
|
||||
/** @var L10n */
|
||||
private $l10n;
|
||||
|
||||
public function __construct(LoggerInterface $logger, Database $dba, Depository\Notify $notify, BaseURL $baseUrl, L10n $l10n)
|
||||
public function __construct(LoggerInterface $logger, Database $dba, Repository\Notify $notify, BaseURL $baseUrl, L10n $l10n)
|
||||
{
|
||||
parent::__construct($logger);
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Friendica\Navigation\Notifications\Depository;
|
||||
namespace Friendica\Navigation\Notifications\Repository;
|
||||
|
||||
use Exception;
|
||||
use Friendica\BaseCollection;
|
||||
use Friendica\BaseDepository;
|
||||
use Friendica\BaseRepository;
|
||||
use Friendica\Database\Database;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Model\Verb;
|
||||
|
@ -15,7 +15,7 @@ use Friendica\Network\HTTPException\NotFoundException;
|
|||
use Friendica\Util\DateTimeFormat;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
class Notification extends BaseDepository
|
||||
class Notification extends BaseRepository
|
||||
{
|
||||
/** @var Factory\Notification */
|
||||
protected $factory;
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Friendica\Navigation\Notifications\Depository;
|
||||
namespace Friendica\Navigation\Notifications\Repository;
|
||||
|
||||
use Friendica\App\BaseURL;
|
||||
use Friendica\BaseDepository;
|
||||
use Friendica\BaseRepository;
|
||||
use Friendica\Content\Text\Plaintext;
|
||||
use Friendica\Core\Config\IConfig;
|
||||
use Friendica\Core\Hook;
|
||||
|
@ -22,7 +22,7 @@ use Friendica\Util\DateTimeFormat;
|
|||
use Friendica\Util\Emailer;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
class Notify extends BaseDepository
|
||||
class Notify extends BaseRepository
|
||||
{
|
||||
/** @var Factory\Notify */
|
||||
protected $factory;
|
Loading…
Add table
Add a link
Reference in a new issue