Completed
Pull Request — master (#10077)
by Robin
66:43 queued 39:25
created
apps/dav/lib/Files/LazySearchBackend.php 1 patch
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -27,46 +27,46 @@
 block discarded – undo
27 27
 use SearchDAV\Query\Query;
28 28
 
29 29
 class LazySearchBackend implements ISearchBackend {
30
-	/**
31
-	 * @var ISearchBackend $backend
32
-	 */
33
-	private $backend = null;
30
+    /**
31
+     * @var ISearchBackend $backend
32
+     */
33
+    private $backend = null;
34 34
 
35
-	public function setBackend(ISearchBackend $backend) {
36
-		$this->backend = $backend;
37
-	}
35
+    public function setBackend(ISearchBackend $backend) {
36
+        $this->backend = $backend;
37
+    }
38 38
 
39
-	public function getArbiterPath() {
40
-		if ($this->backend) {
41
-			return $this->backend->getArbiterPath();
42
-		} else {
43
-			return '';
44
-		}
45
-	}
39
+    public function getArbiterPath() {
40
+        if ($this->backend) {
41
+            return $this->backend->getArbiterPath();
42
+        } else {
43
+            return '';
44
+        }
45
+    }
46 46
 
47
-	public function isValidScope($href, $depth, $path) {
48
-		if ($this->backend) {
49
-			return $this->backend->getArbiterPath();
50
-		} else {
51
-			return false;
52
-		}
53
-	}
47
+    public function isValidScope($href, $depth, $path) {
48
+        if ($this->backend) {
49
+            return $this->backend->getArbiterPath();
50
+        } else {
51
+            return false;
52
+        }
53
+    }
54 54
 
55
-	public function getPropertyDefinitionsForScope($href, $path) {
56
-		if ($this->backend) {
57
-			return $this->backend->getPropertyDefinitionsForScope($href, $path);
58
-		} else {
59
-			return [];
60
-		}
61
-	}
55
+    public function getPropertyDefinitionsForScope($href, $path) {
56
+        if ($this->backend) {
57
+            return $this->backend->getPropertyDefinitionsForScope($href, $path);
58
+        } else {
59
+            return [];
60
+        }
61
+    }
62 62
 
63
-	public function search(Query $query) {
64
-		if ($this->backend) {
65
-			return $this->backend->search($query);
66
-		} else {
67
-			return [];
68
-		}
69
-	}
63
+    public function search(Query $query) {
64
+        if ($this->backend) {
65
+            return $this->backend->search($query);
66
+        } else {
67
+            return [];
68
+        }
69
+    }
70 70
 
71 71
 
72 72
 }
Please login to merge, or discard this patch.