Passed
Push — master ( 5d3ecf...8fc877 )
by Morris
11:31 queued 12s
created
lib/public/Activity/ActivitySettings.php 1 patch
Indentation   +73 added lines, -73 removed lines patch added patch discarded remove patch
@@ -27,87 +27,87 @@
 block discarded – undo
27 27
  * @since 20.0.0
28 28
  */
29 29
 abstract class ActivitySettings implements ISetting {
30
-	/**
31
-	 * @return string Lowercase a-z and underscore only identifier
32
-	 * @since 20.0.0
33
-	 */
34
-	abstract public function getIdentifier();
30
+    /**
31
+     * @return string Lowercase a-z and underscore only identifier
32
+     * @since 20.0.0
33
+     */
34
+    abstract public function getIdentifier();
35 35
 
36
-	/**
37
-	 * @return string A translated string
38
-	 * @since 20.0.0
39
-	 */
40
-	abstract public function getName();
36
+    /**
37
+     * @return string A translated string
38
+     * @since 20.0.0
39
+     */
40
+    abstract public function getName();
41 41
 
42
-	/**
43
-	 * @return string Lowercase a-z and underscore only group identifier
44
-	 * @since 20.0.0
45
-	 */
46
-	abstract public function getGroupIdentifier();
42
+    /**
43
+     * @return string Lowercase a-z and underscore only group identifier
44
+     * @since 20.0.0
45
+     */
46
+    abstract public function getGroupIdentifier();
47 47
 
48
-	/**
49
-	 * @return string A translated string for the settings group
50
-	 * @since 20.0.0
51
-	 */
52
-	abstract public function getGroupName();
48
+    /**
49
+     * @return string A translated string for the settings group
50
+     * @since 20.0.0
51
+     */
52
+    abstract public function getGroupName();
53 53
 
54
-	/**
55
-	 * @return int whether the filter should be rather on the top or bottom of
56
-	 * the admin section. The filters are arranged in ascending order of the
57
-	 * priority values. It is required to return a value between 0 and 100.
58
-	 * @since 20.0.0
59
-	 */
60
-	abstract public function getPriority();
54
+    /**
55
+     * @return int whether the filter should be rather on the top or bottom of
56
+     * the admin section. The filters are arranged in ascending order of the
57
+     * priority values. It is required to return a value between 0 and 100.
58
+     * @since 20.0.0
59
+     */
60
+    abstract public function getPriority();
61 61
 
62
-	/**
63
-	 * @return bool True when the option can be changed for the mail
64
-	 * @since 20.0.0
65
-	 */
66
-	public function canChangeMail() {
67
-		return true;
68
-	}
62
+    /**
63
+     * @return bool True when the option can be changed for the mail
64
+     * @since 20.0.0
65
+     */
66
+    public function canChangeMail() {
67
+        return true;
68
+    }
69 69
 
70
-	/**
71
-	 * @return bool True when the option can be changed for the notification
72
-	 * @since 20.0.0
73
-	 */
74
-	public function canChangeNotification() {
75
-		return true;
76
-	}
70
+    /**
71
+     * @return bool True when the option can be changed for the notification
72
+     * @since 20.0.0
73
+     */
74
+    public function canChangeNotification() {
75
+        return true;
76
+    }
77 77
 
78
-	/**
79
-	 * @return bool Whether or not an activity email should be send by default
80
-	 * @since 20.0.0
81
-	 */
82
-	public function isDefaultEnabledMail() {
83
-		return false;
84
-	}
78
+    /**
79
+     * @return bool Whether or not an activity email should be send by default
80
+     * @since 20.0.0
81
+     */
82
+    public function isDefaultEnabledMail() {
83
+        return false;
84
+    }
85 85
 
86
-	/**
87
-	 * @return bool Whether or not an activity notification should be send by default
88
-	 * @since 20.0.0
89
-	 */
90
-	public function isDefaultEnabledNotification() {
91
-		return $this->isDefaultEnabledMail() && !$this->canChangeMail();
92
-	}
86
+    /**
87
+     * @return bool Whether or not an activity notification should be send by default
88
+     * @since 20.0.0
89
+     */
90
+    public function isDefaultEnabledNotification() {
91
+        return $this->isDefaultEnabledMail() && !$this->canChangeMail();
92
+    }
93 93
 
94
-	/**
95
-	 * Left in for backwards compatibility
96
-	 *
97
-	 * @return bool
98
-	 * @since 20.0.0
99
-	 */
100
-	public function canChangeStream() {
101
-		return false;
102
-	}
94
+    /**
95
+     * Left in for backwards compatibility
96
+     *
97
+     * @return bool
98
+     * @since 20.0.0
99
+     */
100
+    public function canChangeStream() {
101
+        return false;
102
+    }
103 103
 
104
-	/**
105
-	 * Left in for backwards compatibility
106
-	 *
107
-	 * @return bool
108
-	 * @since 20.0.0
109
-	 */
110
-	public function isDefaultEnabledStream() {
111
-		return true;
112
-	}
104
+    /**
105
+     * Left in for backwards compatibility
106
+     *
107
+     * @return bool
108
+     * @since 20.0.0
109
+     */
110
+    public function isDefaultEnabledStream() {
111
+        return true;
112
+    }
113 113
 }
Please login to merge, or discard this patch.