Passed
Push — master ( 1ddb7a...c233ac )
by Joas
13:57 queued 11s
created
apps/dav/lib/CalDAV/CalendarRoot.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -30,30 +30,30 @@
 block discarded – undo
30 30
 use Sabre\DAVACL\PrincipalBackend;
31 31
 
32 32
 class CalendarRoot extends \Sabre\CalDAV\CalendarRoot {
33
-	private LoggerInterface $logger;
33
+    private LoggerInterface $logger;
34 34
 
35
-	public function __construct(
36
-		PrincipalBackend\BackendInterface $principalBackend,
37
-		Backend\BackendInterface $caldavBackend,
38
-		$principalPrefix,
39
-		LoggerInterface $logger
40
-	) {
41
-		parent::__construct($principalBackend, $caldavBackend, $principalPrefix);
42
-		$this->logger = $logger;
43
-	}
35
+    public function __construct(
36
+        PrincipalBackend\BackendInterface $principalBackend,
37
+        Backend\BackendInterface $caldavBackend,
38
+        $principalPrefix,
39
+        LoggerInterface $logger
40
+    ) {
41
+        parent::__construct($principalBackend, $caldavBackend, $principalPrefix);
42
+        $this->logger = $logger;
43
+    }
44 44
 
45
-	public function getChildForPrincipal(array $principal) {
46
-		return new CalendarHome($this->caldavBackend, $principal, $this->logger);
47
-	}
45
+    public function getChildForPrincipal(array $principal) {
46
+        return new CalendarHome($this->caldavBackend, $principal, $this->logger);
47
+    }
48 48
 
49
-	public function getName() {
50
-		if ($this->principalPrefix === 'principals/calendar-resources' ||
51
-			$this->principalPrefix === 'principals/calendar-rooms') {
52
-			$parts = explode('/', $this->principalPrefix);
49
+    public function getName() {
50
+        if ($this->principalPrefix === 'principals/calendar-resources' ||
51
+            $this->principalPrefix === 'principals/calendar-rooms') {
52
+            $parts = explode('/', $this->principalPrefix);
53 53
 
54
-			return $parts[1];
55
-		}
54
+            return $parts[1];
55
+        }
56 56
 
57
-		return parent::getName();
58
-	}
57
+        return parent::getName();
58
+    }
59 59
 }
Please login to merge, or discard this patch.