Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2018-05-03 23:08:09 +0300
committerdartcafe <github@dartcafe.de>2018-05-03 23:08:09 +0300
commitd4b2824cb4acf5198038f5beaf9270b90225a9e4 (patch)
tree51da1105c4f8b1773f919281902e07b3e1f1ebb9 /lib/AppInfo
parent7496d9aca9458357d67de7c6d9eb611610479dc6 (diff)
fixes
Diffstat (limited to 'lib/AppInfo')
-rw-r--r--lib/AppInfo/Application.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index 346ba0b1..dca24e7e 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -47,7 +47,7 @@ class Application extends App {
/**
* Controllers
*/
- $container->registerService('PageController', function (IContainer $c) {
+ $container->registerService('PageController', function(IContainer $c) {
return new PageController(
$c->query('AppName'),
$c->query('Request'),
@@ -66,51 +66,51 @@ class Application extends App {
);
});
- $container->registerService('UserManager', function (IContainer $c) {
+ $container->registerService('UserManager', function(IContainer $c) {
return $c->query('ServerContainer')->getUserManager();
});
- $container->registerService('GroupManager', function (IContainer $c) {
+ $container->registerService('GroupManager', function(IContainer $c) {
return $c->query('ServerContainer')->getGroupManager();
});
- $container->registerService('AvatarManager', function (IContainer $c) {
+ $container->registerService('AvatarManager', function(IContainer $c) {
return $c->query('ServerContainer')->getAvatarManager();
});
- $container->registerService('Logger', function (IContainer $c) {
+ $container->registerService('Logger', function(IContainer $c) {
return $c->query('ServerContainer')->getLogger();
});
- $container->registerService('L10N', function (IContainer $c) {
+ $container->registerService('L10N', function(IContainer $c) {
return $c->query('ServerContainer')->getL10N($c->query('AppName'));
});
- $container->registerService('CommentMapper', function (IContainer $c) use ($server) {
+ $container->registerService('CommentMapper', function(IContainer $c) use ($server) {
return new CommentMapper(
$server->getDatabaseConnection()
);
});
- $container->registerService('OptionsMapper', function (IContainer $c) use ($server) {
+ $container->registerService('OptionsMapper', function(IContainer $c) use ($server) {
return new OptionsMapper(
$server->getDatabaseConnection()
);
});
- $container->registerService('EventMapper', function (IContainer $c) use ($server) {
+ $container->registerService('EventMapper', function(IContainer $c) use ($server) {
return new EventMapper(
$server->getDatabaseConnection()
);
});
- $container->registerService('NotificationMapper', function (IContainer $c) use ($server) {
+ $container->registerService('NotificationMapper', function(IContainer $c) use ($server) {
return new NotificationMapper(
$server->getDatabaseConnection()
);
});
- $container->registerService('VotesMapper', function (IContainer $c) use ($server) {
+ $container->registerService('VotesMapper', function(IContainer $c) use ($server) {
return new VotesMapper(
$server->getDatabaseConnection()
);
@@ -122,7 +122,7 @@ class Application extends App {
*/
public function registerNavigationEntry() {
$container = $this->getContainer();
- $container->query('OCP\INavigationManager')->add(function () use ($container) {
+ $container->query('OCP\INavigationManager')->add(function() use ($container) {
$urlGenerator = $container->query('OCP\IURLGenerator');
$l10n = $container->query('OCP\IL10N');
return [