[CORE][Router] Rename \App\Core\Router\Router to \App\Core\Router and merge \App\Core\Router\RouteLoader with \App\Core\Router
This commit is contained in:
@@ -35,8 +35,7 @@ use App\Core\DB;
|
||||
use App\Core\Event;
|
||||
use function App\Core\I18n\_m;
|
||||
use App\Core\Modules\Plugin;
|
||||
use App\Core\Router\RouteLoader;
|
||||
use App\Core\Router\Router;
|
||||
use App\Core\Router;
|
||||
use App\Entity\Actor;
|
||||
use App\Entity\Feed;
|
||||
use App\Entity\LocalUser;
|
||||
@@ -123,7 +122,7 @@ class AttachmentCollections extends Plugin
|
||||
return array_map(fn ($x) => $x['attachment_collection_id'], $res);
|
||||
}
|
||||
|
||||
public function onAddRoute(RouteLoader $r): bool
|
||||
public function onAddRoute(Router $r): bool
|
||||
{
|
||||
// View all collections by actor id and nickname
|
||||
$r->connect(
|
||||
|
@@ -24,7 +24,7 @@ declare(strict_types = 1);
|
||||
namespace Plugin\AttachmentCollections\Controller;
|
||||
|
||||
use App\Core\DB;
|
||||
use App\Core\Router\Router;
|
||||
use App\Core\Router;
|
||||
use Component\Collection\Util\Controller\MetaCollectionController;
|
||||
use Plugin\AttachmentCollections\Entity\AttachmentCollection;
|
||||
|
||||
|
Reference in New Issue
Block a user