Cleaned up some things I missed.
This commit is contained in:
parent
737c99280e
commit
c68279add9
1 changed files with 3 additions and 8 deletions
|
@ -8,12 +8,11 @@ use Index\Data\Migration\DbMigrationManager;
|
|||
use Index\Data\Migration\FsDbMigrationRepo;
|
||||
use Index\Http\HttpFx;
|
||||
use Index\Http\HttpRequest;
|
||||
use Index\Routing\Router;
|
||||
use Index\Routing\IRouter;
|
||||
use Sasae\SasaeEnvironment;
|
||||
use Misuzu\Template;
|
||||
use Misuzu\Auth\AuthContext;
|
||||
use Misuzu\Auth\AuthInfo;
|
||||
use Misuzu\Auth\AuthTokenPacker;
|
||||
use Misuzu\AuditLog\AuditLog;
|
||||
use Misuzu\Changelog\Changelog;
|
||||
use Misuzu\Changelog\ChangelogRoutes;
|
||||
|
@ -107,8 +106,8 @@ class MisuzuContext {
|
|||
return $this->config;
|
||||
}
|
||||
|
||||
public function getRouter(): Router {
|
||||
return $this->router->getRouter();
|
||||
public function getRouter(): IRouter {
|
||||
return $this->router;
|
||||
}
|
||||
|
||||
public function getEmotes(): Emotes {
|
||||
|
@ -155,10 +154,6 @@ class MisuzuContext {
|
|||
return $this->usersCtx;
|
||||
}
|
||||
|
||||
public function createAuthTokenPacker(): AuthTokenPacker {
|
||||
return new AuthTokenPacker($this->config->getString('auth.secret', 'meow'));
|
||||
}
|
||||
|
||||
public function getAuthInfo(): AuthInfo {
|
||||
return $this->authInfo;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue