Completed
Push — master ( e49bda...bb8862 )
by
unknown
21:12 queued 17s
created
apps/dav/lib/AppInfo/Application.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -112,13 +112,13 @@  discard block
 block discarded – undo
112 112
 
113 113
 	public function register(IRegistrationContext $context): void {
114 114
 		$context->registerServiceAlias('CardDAVSyncService', SyncService::class);
115
-		$context->registerService(PhotoCache::class, function (ContainerInterface $c) {
115
+		$context->registerService(PhotoCache::class, function(ContainerInterface $c) {
116 116
 			return new PhotoCache(
117 117
 				$c->get(IAppDataFactory::class)->get('dav-photocache'),
118 118
 				$c->get(LoggerInterface::class)
119 119
 			);
120 120
 		});
121
-		$context->registerService(AppCalendarPlugin::class, function (ContainerInterface $c) {
121
+		$context->registerService(AppCalendarPlugin::class, function(ContainerInterface $c) {
122 122
 			return new AppCalendarPlugin(
123 123
 				$c->get(ICalendarManager::class),
124 124
 				$c->get(LoggerInterface::class)
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
 	}
234 234
 
235 235
 	public function registerContactsManager(IContactsManager $cm, IAppContainer $container): void {
236
-		$cm->register(function () use ($container, $cm): void {
236
+		$cm->register(function() use ($container, $cm): void {
237 237
 			$user = Server::get(IUserSession::class)->getUser();
238 238
 			if (!is_null($user)) {
239 239
 				$this->setupContactsProvider($cm, $container, $user->getUID());
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
 
262 262
 	public function registerCalendarManager(ICalendarManager $calendarManager,
263 263
 		IAppContainer $container): void {
264
-		$calendarManager->register(function () use ($container, $calendarManager): void {
264
+		$calendarManager->register(function() use ($container, $calendarManager): void {
265 265
 			$user = Server::get(IUserSession::class)->getUser();
266 266
 			if ($user !== null) {
267 267
 				$this->setupCalendarProvider($calendarManager, $container, $user->getUID());
Please login to merge, or discard this patch.