diff --git a/extend.php b/extend.php index adbd274..05145ad 100644 --- a/extend.php +++ b/extend.php @@ -15,7 +15,7 @@ use FoF\Clockwork\Extend\FileStoragePath; return [ - (new FileStoragePath()), + new FileStoragePath(), (new Extend\Frontend('forum')) ->content(AddFrontendData::class), diff --git a/src/Clockwork/FlarumDataSource.php b/src/Clockwork/FlarumDataSource.php index 920415d..87f959f 100644 --- a/src/Clockwork/FlarumDataSource.php +++ b/src/Clockwork/FlarumDataSource.php @@ -182,7 +182,7 @@ protected function getSessionData() protected function resolveAuthenticatedUser(Request $request) { $user = RequestUtil::getActor($this->request); - if ($user->isGuest()){ + if ($user->isGuest()) { return; } if (!isset($user->email) || !isset($user->id)) {