Failed Conditions
Push — master ( a9bae3...93cd59 )
by Marcos
08:39 queued 11s
created
lib/AppInfo/Application.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -68,18 +68,18 @@  discard block
 block discarded – undo
68 68
 
69 69
 		$context->registerSearchProvider(Provider::class);
70 70
 
71
-		$context->registerService(View::class, function () {
71
+		$context->registerService(View::class, function() {
72 72
 			return new View('');
73 73
 		}, false);
74 74
 
75
-		$context->registerService('isCLI', function () {
75
+		$context->registerService('isCLI', function() {
76 76
 			return \OC::$CLI;
77 77
 		});
78 78
 
79 79
 		$context->registerMiddleware(ShareMiddleware::class);
80 80
 		$context->registerMiddleware(APIMiddleware::class);
81 81
 
82
-		$context->registerService('ShareController', function (ContainerInterface $c) {
82
+		$context->registerService('ShareController', function(ContainerInterface $c) {
83 83
 			$server = $this->getContainer()->getServer();
84 84
 			return new ShareController(
85 85
 				$c->get('AppName'),
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 		});
99 99
 
100 100
 
101
-		$context->registerService('CronService', function (ContainerInterface $c) {
101
+		$context->registerService('CronService', function(ContainerInterface $c) {
102 102
 			return new CronService(
103 103
 				$c->get(CredentialService::class),
104 104
 				$c->get(ILogger::class),
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 			);
110 110
 		});
111 111
 
112
-		$context->registerService('Logger', function (ContainerInterface $c) {
112
+		$context->registerService('Logger', function(ContainerInterface $c) {
113 113
 			return $c->get(ServerContainer::class)->getLogger();
114 114
 		});
115 115
 	}
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 	public function registerNavigationEntry() {
132 132
 		$c = $this->getContainer();
133 133
 		$server = $c->getServer();
134
-		$navigationEntry = function () use ($c, $server) {
134
+		$navigationEntry = function() use ($c, $server) {
135 135
 			return [
136 136
 				'id' => $c->getAppName(),
137 137
 				'order' => 10,
Please login to merge, or discard this patch.