Passed
Push — master ( c2588b...2b4364 )
by Morris
11:12 queued 10s
created
apps/encryption/lib/AppInfo/Application.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 		$this->encryptionManager->registerEncryptionModule(
112 112
 			Encryption::ID,
113 113
 			Encryption::DISPLAY_NAME,
114
-			function () use ($container) {
114
+			function() use ($container) {
115 115
 				return new Encryption(
116 116
 				$container->query(Crypt::class),
117 117
 				$container->query(KeyManager::class),
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 	public function registerServices() {
129 129
 		$container = $this->getContainer();
130 130
 
131
-		$container->registerService(Crypt::class,	function (ContainerInterface $c) {
131
+		$container->registerService(Crypt::class, function(ContainerInterface $c) {
132 132
 			/** @var IServerContainer $server */
133 133
 			$server = $c->get(IServerContainer::class);
134 134
 			return new Crypt($server->getLogger(),
@@ -137,14 +137,14 @@  discard block
 block discarded – undo
137 137
 					$server->getL10N($c->get('AppName')));
138 138
 		});
139 139
 
140
-		$container->registerService(Session::class,	function (ContainerInterface $c) {
140
+		$container->registerService(Session::class, function(ContainerInterface $c) {
141 141
 			/** @var IServerContainer $server */
142 142
 			$server = $c->get(IServerContainer::class);
143 143
 			return new Session($server->getSession());
144 144
 		}
145 145
 		);
146 146
 
147
-		$container->registerService(KeyManager::class,	function (ContainerInterface $c) {
147
+		$container->registerService(KeyManager::class, function(ContainerInterface $c) {
148 148
 			/** @var IServerContainer $server */
149 149
 			$server = $c->get(IServerContainer::class);
150 150
 
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
 				);
160 160
 		});
161 161
 
162
-		$container->registerService(Recovery::class,		function (ContainerInterface $c) {
162
+		$container->registerService(Recovery::class, function(ContainerInterface $c) {
163 163
 			/** @var IServerContainer $server */
164 164
 			$server = $c->get(IServerContainer::class);
165 165
 
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 					new View());
173 173
 		});
174 174
 
175
-		$container->registerService(RecoveryController::class, function (ContainerInterface $c) {
175
+		$container->registerService(RecoveryController::class, function(ContainerInterface $c) {
176 176
 			/** @var IServerContainer $server */
177 177
 			$server = $c->get(IServerContainer::class);
178 178
 			return new RecoveryController(
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 				$c->get(Recovery::class));
184 184
 		});
185 185
 
186
-		$container->registerService(StatusController::class, function (ContainerInterface $c) {
186
+		$container->registerService(StatusController::class, function(ContainerInterface $c) {
187 187
 			/** @var IServerContainer $server */
188 188
 			$server = $c->get(IServerContainer::class);
189 189
 			return new StatusController(
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
 			);
196 196
 		});
197 197
 
198
-		$container->registerService(SettingsController::class, function (ContainerInterface $c) {
198
+		$container->registerService(SettingsController::class, function(ContainerInterface $c) {
199 199
 			/** @var IServerContainer $server */
200 200
 			$server = $c->get(IServerContainer::class);
201 201
 			return new SettingsController(
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
 			);
213 213
 		});
214 214
 
215
-		$container->registerService(Setup::class,	function (ContainerInterface $c) {
215
+		$container->registerService(Setup::class, function(ContainerInterface $c) {
216 216
 			/** @var IServerContainer $server */
217 217
 			$server = $c->get(IServerContainer::class);
218 218
 			return new Setup($server->getLogger(),
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
 					$c->get(KeyManager::class));
222 222
 		});
223 223
 
224
-		$container->registerService(Util::class, function (ContainerInterface $c) {
224
+		$container->registerService(Util::class, function(ContainerInterface $c) {
225 225
 			/** @var IServerContainer $server */
226 226
 			$server = $c->get(IServerContainer::class);
227 227
 
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
 					$server->getUserManager());
235 235
 		});
236 236
 
237
-		$container->registerService(EncryptAll::class,	function (ContainerInterface $c) {
237
+		$container->registerService(EncryptAll::class, function(ContainerInterface $c) {
238 238
 			/** @var IServerContainer $server */
239 239
 			$server = $c->get(IServerContainer::class);
240 240
 			return new EncryptAll(
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
 		}
253 253
 		);
254 254
 
255
-		$container->registerService(DecryptAll::class,function (ContainerInterface $c) {
255
+		$container->registerService(DecryptAll::class, function(ContainerInterface $c) {
256 256
 			return new DecryptAll(
257 257
 					$c->get(Util::class),
258 258
 					$c->get(KeyManager::class),
Please login to merge, or discard this patch.