Passed
Push — master ( 37a216...b211d0 )
by John
13:38 queued 12s
created
apps/dav/lib/Settings/CalDAVSettings.php 1 patch
Indentation   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -33,48 +33,48 @@
 block discarded – undo
33 33
 
34 34
 class CalDAVSettings implements ISettings {
35 35
 
36
-	/** @var IConfig */
37
-	private $config;
36
+    /** @var IConfig */
37
+    private $config;
38 38
 
39
-	/** @var IInitialState */
40
-	private $initialState;
39
+    /** @var IInitialState */
40
+    private $initialState;
41 41
 
42
-	/**
43
-	 * CalDAVSettings constructor.
44
-	 *
45
-	 * @param IConfig $config
46
-	 * @param IInitialState $initialState
47
-	 */
48
-	public function __construct(IConfig $config, IInitialState $initialState) {
49
-		$this->config = $config;
50
-		$this->initialState = $initialState;
51
-	}
42
+    /**
43
+     * CalDAVSettings constructor.
44
+     *
45
+     * @param IConfig $config
46
+     * @param IInitialState $initialState
47
+     */
48
+    public function __construct(IConfig $config, IInitialState $initialState) {
49
+        $this->config = $config;
50
+        $this->initialState = $initialState;
51
+    }
52 52
 
53
-	public function getForm(): TemplateResponse {
54
-		$defaults = [
55
-			'sendInvitations' => 'yes',
56
-			'generateBirthdayCalendar' => 'yes',
57
-			'sendEventReminders' => 'yes',
58
-			'sendEventRemindersPush' => 'no',
59
-		];
60
-		foreach ($defaults as $key => $default) {
61
-			$value = $this->config->getAppValue(Application::APP_ID, $key, $default);
62
-			$this->initialState->provideInitialState($key, $value === 'yes');
63
-		}
64
-		return new TemplateResponse(Application::APP_ID, 'settings-admin-caldav');
65
-	}
53
+    public function getForm(): TemplateResponse {
54
+        $defaults = [
55
+            'sendInvitations' => 'yes',
56
+            'generateBirthdayCalendar' => 'yes',
57
+            'sendEventReminders' => 'yes',
58
+            'sendEventRemindersPush' => 'no',
59
+        ];
60
+        foreach ($defaults as $key => $default) {
61
+            $value = $this->config->getAppValue(Application::APP_ID, $key, $default);
62
+            $this->initialState->provideInitialState($key, $value === 'yes');
63
+        }
64
+        return new TemplateResponse(Application::APP_ID, 'settings-admin-caldav');
65
+    }
66 66
 
67
-	/**
68
-	 * @return string
69
-	 */
70
-	public function getSection() {
71
-		return 'groupware';
72
-	}
67
+    /**
68
+     * @return string
69
+     */
70
+    public function getSection() {
71
+        return 'groupware';
72
+    }
73 73
 
74
-	/**
75
-	 * @return int
76
-	 */
77
-	public function getPriority() {
78
-		return 10;
79
-	}
74
+    /**
75
+     * @return int
76
+     */
77
+    public function getPriority() {
78
+        return 10;
79
+    }
80 80
 }
Please login to merge, or discard this patch.