Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
Signed-off-by: dartcafe <github@dartcafe.de>
  • Loading branch information
dartcafe committed Jun 10, 2024
1 parent 47f84ed commit 808117f
Showing 1 changed file with 53 additions and 52 deletions.
105 changes: 53 additions & 52 deletions lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
// use OCP\IDBConnection;
// use OCP\IUserManager;
use OCP\User\Events\UserDeletedEvent;

// use Psr\Container\ContainerInterface;
// use Psr\Log\LoggerInterface;

Expand Down Expand Up @@ -134,57 +135,57 @@ public function register(IRegistrationContext $context): void {
* Register some Services
*/
// private function registerServices(IRegistrationContext $context): void {
// $context->registerService(UserMapper::class, function (ContainerInterface $c): UserMapper {
// return new UserMapper(
// $c->get(IDBConnection::class),
// $c->get(IUserManager::class),
// );
// });

// $context->registerService(AppSettings::class, function (ContainerInterface $c): AppSettings {
// return new AppSettings(
// $c->get(IConfig::class),
// $c->get(UserSession::class),
// );
// });

// $context->registerService(PollMapper::class, function (ContainerInterface $c): PollMapper {
// return new PollMapper(
// $c->get(IDBConnection::class),
// $c->get(UserSession::class),
// );
// });

// $context->registerService(CommentMapper::class, function (ContainerInterface $c): CommentMapper {
// return new CommentMapper(
// $c->get(IDBConnection::class),
// );
// });

// $context->registerService(VoteMapper::class, function (ContainerInterface $c): VoteMapper {
// return new VoteMapper(
// $c->get(IDBConnection::class),
// $c->get(LoggerInterface::class),
// );
// });

// $context->registerService(OptionMapper::class, function (ContainerInterface $c): OptionMapper {
// return new OptionMapper(
// $c->get(IDBConnection::class),
// $c->get(UserSession::class),
// );
// });

// $context->registerService(SubscriptionMapper::class, function (ContainerInterface $c): SubscriptionMapper {
// return new SubscriptionMapper(
// $c->get(IDBConnection::class),
// );
// });

// $context->registerService(LogMapper::class, function (ContainerInterface $c): LogMapper {
// return new LogMapper(
// $c->get(IDBConnection::class),
// );
// });
// $context->registerService(UserMapper::class, function (ContainerInterface $c): UserMapper {
// return new UserMapper(
// $c->get(IDBConnection::class),
// $c->get(IUserManager::class),
// );
// });

// $context->registerService(AppSettings::class, function (ContainerInterface $c): AppSettings {
// return new AppSettings(
// $c->get(IConfig::class),
// $c->get(UserSession::class),
// );
// });

// $context->registerService(PollMapper::class, function (ContainerInterface $c): PollMapper {
// return new PollMapper(
// $c->get(IDBConnection::class),
// $c->get(UserSession::class),
// );
// });

// $context->registerService(CommentMapper::class, function (ContainerInterface $c): CommentMapper {
// return new CommentMapper(
// $c->get(IDBConnection::class),
// );
// });

// $context->registerService(VoteMapper::class, function (ContainerInterface $c): VoteMapper {
// return new VoteMapper(
// $c->get(IDBConnection::class),
// $c->get(LoggerInterface::class),
// );
// });

// $context->registerService(OptionMapper::class, function (ContainerInterface $c): OptionMapper {
// return new OptionMapper(
// $c->get(IDBConnection::class),
// $c->get(UserSession::class),
// );
// });

// $context->registerService(SubscriptionMapper::class, function (ContainerInterface $c): SubscriptionMapper {
// return new SubscriptionMapper(
// $c->get(IDBConnection::class),
// );
// });

// $context->registerService(LogMapper::class, function (ContainerInterface $c): LogMapper {
// return new LogMapper(
// $c->get(IDBConnection::class),
// );
// });
// }
}

0 comments on commit 808117f

Please sign in to comment.