Passed
Push — master ( 555550...c77cc8 )
by Blizzz
13:10 queued 12s
created
lib/private/Calendar/Manager.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -191,12 +191,12 @@  discard block
 block discarded – undo
191 191
 		}
192 192
 
193 193
 		return array_merge(
194
-			...array_map(function ($registration) use ($principalUri, $calendarUris) {
194
+			...array_map(function($registration) use ($principalUri, $calendarUris) {
195 195
 				try {
196 196
 					/** @var ICalendarProvider $provider */
197 197
 					$provider = $this->container->get($registration->getService());
198 198
 				} catch (Throwable $e) {
199
-					$this->logger->error('Could not load calendar provider ' . $registration->getService() . ': ' . $e->getMessage(), [
199
+					$this->logger->error('Could not load calendar provider '.$registration->getService().': '.$e->getMessage(), [
200 200
 						'exception' => $e,
201 201
 					]);
202 202
 					return [];
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
 
270 270
 		$calendars = $this->getCalendarsForPrincipal($principalUri);
271 271
 		if (empty($calendars)) {
272
-			$this->logger->warning('Could not find any calendars for principal ' . $principalUri);
272
+			$this->logger->warning('Could not find any calendars for principal '.$principalUri);
273 273
 			return false;
274 274
 		}
275 275
 
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
 		}
292 292
 
293 293
 		if (empty($found)) {
294
-			$this->logger->info('Event not found in any calendar for principal ' . $principalUri . 'and UID' . $vEvent->{'UID'}->getValue());
294
+			$this->logger->info('Event not found in any calendar for principal '.$principalUri.'and UID'.$vEvent->{'UID'}->getValue());
295 295
 			return false;
296 296
 		}
297 297
 
@@ -347,7 +347,7 @@  discard block
 block discarded – undo
347 347
 		// Check if we have a calendar to work with
348 348
 		$calendars = $this->getCalendarsForPrincipal($principalUri);
349 349
 		if (empty($calendars)) {
350
-			$this->logger->warning('Could not find any calendars for principal ' . $principalUri);
350
+			$this->logger->warning('Could not find any calendars for principal '.$principalUri);
351 351
 			return false;
352 352
 		}
353 353
 
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
 		}
370 370
 
371 371
 		if (empty($found)) {
372
-			$this->logger->info('Event not found in any calendar for principal ' . $principalUri . 'and UID' . $vEvent->{'UID'}->getValue());
372
+			$this->logger->info('Event not found in any calendar for principal '.$principalUri.'and UID'.$vEvent->{'UID'}->getValue());
373 373
 			// this is a safe operation
374 374
 			// we can ignore events that have been cancelled but were not in the calendar anyway
375 375
 			return true;
Please login to merge, or discard this patch.