Passed
Push — master ( 484f8b...f05532 )
by Blizzz
13:38 queued 12s
created
apps/dav/lib/CalDAV/CalendarHome.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -161,9 +161,9 @@  discard block
 block discarded – undo
161 161
 
162 162
 		// Calendar - this covers all "regular" calendars, but not shared
163 163
 		// only check if the method is available
164
-		if($this->caldavBackend instanceof CalDavBackend) {
164
+		if ($this->caldavBackend instanceof CalDavBackend) {
165 165
 			$calendar = $this->caldavBackend->getCalendarByUri($this->principalInfo['uri'], $name);
166
-			if(!empty($calendar)) {
166
+			if (!empty($calendar)) {
167 167
 				return new Calendar($this->caldavBackend, $calendar, $this->l10n, $this->config, $this->logger);
168 168
 			}
169 169
 		}
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 			}
203 203
 		}
204 204
 
205
-		throw new NotFound('Node with name \'' . $name . '\' could not be found');
205
+		throw new NotFound('Node with name \''.$name.'\' could not be found');
206 206
 	}
207 207
 
208 208
 	/**
Please login to merge, or discard this patch.