Completed
Pull Request — master (#6571)
by Robin
30:32 queued 15:24
created
lib/public/ICacheFactory.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
  * @package OCP
30 30
  * @since 7.0.0
31 31
  */
32
-interface ICacheFactory{
32
+interface ICacheFactory {
33 33
 	/**
34 34
 	 * Get a distributed memory cache instance
35 35
 	 *
Please login to merge, or discard this patch.
Indentation   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -30,50 +30,50 @@
 block discarded – undo
30 30
  * @since 7.0.0
31 31
  */
32 32
 interface ICacheFactory{
33
-	/**
34
-	 * Get a distributed memory cache instance
35
-	 *
36
-	 * All entries added trough the cache instance will be namespaced by $prefix to prevent collisions between apps
37
-	 *
38
-	 * @param string $prefix
39
-	 * @return \OCP\ICache
40
-	 * @since 7.0.0
41
-	 * @deprecated 13.0.0 Use either createLocking, createDistributed or createLocal
42
-	 */
43
-	public function create($prefix = '');
33
+    /**
34
+     * Get a distributed memory cache instance
35
+     *
36
+     * All entries added trough the cache instance will be namespaced by $prefix to prevent collisions between apps
37
+     *
38
+     * @param string $prefix
39
+     * @return \OCP\ICache
40
+     * @since 7.0.0
41
+     * @deprecated 13.0.0 Use either createLocking, createDistributed or createLocal
42
+     */
43
+    public function create($prefix = '');
44 44
 
45
-	/**
46
-	 * Check if any memory cache backend is available
47
-	 *
48
-	 * @return bool
49
-	 * @since 7.0.0
50
-	 */
51
-	public function isAvailable();
45
+    /**
46
+     * Check if any memory cache backend is available
47
+     *
48
+     * @return bool
49
+     * @since 7.0.0
50
+     */
51
+    public function isAvailable();
52 52
 
53
-	/**
54
-	 * create a cache instance for storing locks
55
-	 *
56
-	 * @param string $prefix
57
-	 * @return \OCP\IMemcache
58
-	 * @since 13.0.0
59
-	 */
60
-	public function createLocking($prefix = '');
53
+    /**
54
+     * create a cache instance for storing locks
55
+     *
56
+     * @param string $prefix
57
+     * @return \OCP\IMemcache
58
+     * @since 13.0.0
59
+     */
60
+    public function createLocking($prefix = '');
61 61
 
62
-	/**
63
-	 * create a distributed cache instance
64
-	 *
65
-	 * @param string $prefix
66
-	 * @return \OCP\ICache
67
-	 * @since 13.0.0
68
-	 */
69
-	public function createDistributed($prefix = '');
62
+    /**
63
+     * create a distributed cache instance
64
+     *
65
+     * @param string $prefix
66
+     * @return \OCP\ICache
67
+     * @since 13.0.0
68
+     */
69
+    public function createDistributed($prefix = '');
70 70
 
71
-	/**
72
-	 * create a local cache instance
73
-	 *
74
-	 * @param string $prefix
75
-	 * @return \OCP\ICache
76
-	 * @since 13.0.0
77
-	 */
78
-	public function createLocal($prefix = '');
71
+    /**
72
+     * create a local cache instance
73
+     *
74
+     * @param string $prefix
75
+     * @return \OCP\ICache
76
+     * @since 13.0.0
77
+     */
78
+    public function createLocal($prefix = '');
79 79
 }
Please login to merge, or discard this patch.