Passed
Push — master ( 6bf0c1...ee4b29 )
by Roeland
11:17 queued 12s
created
apps/accessibility/lib/AccessibilityProvider.php 1 patch
Indentation   +51 added lines, -51 removed lines patch added patch discarded remove patch
@@ -32,62 +32,62 @@
 block discarded – undo
32 32
 
33 33
 class AccessibilityProvider {
34 34
 
35
-	/** @var string */
36
-	protected $appName;
35
+    /** @var string */
36
+    protected $appName;
37 37
 
38
-	/** @var IURLGenerator */
39
-	private $urlGenerator;
38
+    /** @var IURLGenerator */
39
+    private $urlGenerator;
40 40
 
41
-	/** @var IL10N */
42
-	private $l;
41
+    /** @var IL10N */
42
+    private $l;
43 43
 
44
-	/**
45
-	 * Account constructor.
46
-	 *
47
-	 * @param string $appName
48
-	 * @param IURLGenerator $urlGenerator
49
-	 * @param IL10N $l
50
-	 */
51
-	public function __construct(string $appName,
52
-								IURLGenerator $urlGenerator,
53
-								IL10N $l) {
54
-		$this->appName      = $appName;
55
-		$this->urlGenerator = $urlGenerator;
56
-		$this->l            = $l;
57
-	}
44
+    /**
45
+     * Account constructor.
46
+     *
47
+     * @param string $appName
48
+     * @param IURLGenerator $urlGenerator
49
+     * @param IL10N $l
50
+     */
51
+    public function __construct(string $appName,
52
+                                IURLGenerator $urlGenerator,
53
+                                IL10N $l) {
54
+        $this->appName      = $appName;
55
+        $this->urlGenerator = $urlGenerator;
56
+        $this->l            = $l;
57
+    }
58 58
 
59
-	public function getThemes() {
60
-		return array(
61
-			[
62
-				'id'    => 'dark',
63
-				'img'   => $this->urlGenerator->imagePath($this->appName, 'theme-dark.jpg'),
64
-				'title' => $this->l->t('Dark theme'),
65
-				'enableLabel' => $this->l->t('Enable dark theme'),
66
-				'text'  => $this->l->t('A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find.')
67
-			]
68
-		);
69
-	}
59
+    public function getThemes() {
60
+        return array(
61
+            [
62
+                'id'    => 'dark',
63
+                'img'   => $this->urlGenerator->imagePath($this->appName, 'theme-dark.jpg'),
64
+                'title' => $this->l->t('Dark theme'),
65
+                'enableLabel' => $this->l->t('Enable dark theme'),
66
+                'text'  => $this->l->t('A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find.')
67
+            ]
68
+        );
69
+    }
70 70
 
71
-	public function getHighContrast() {
72
-		return [
73
-				'id'    => 'highcontrast',
74
-				'img'   => $this->urlGenerator->imagePath($this->appName, 'mode-highcontrast.jpg'),
75
-				'title' => $this->l->t('High contrast mode'),
76
-				'enableLabel' => $this->l->t('Enable high contrast mode'),
77
-				'text'  => $this->l->t('A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased.')
78
-			];
79
-	}
71
+    public function getHighContrast() {
72
+        return [
73
+                'id'    => 'highcontrast',
74
+                'img'   => $this->urlGenerator->imagePath($this->appName, 'mode-highcontrast.jpg'),
75
+                'title' => $this->l->t('High contrast mode'),
76
+                'enableLabel' => $this->l->t('Enable high contrast mode'),
77
+                'text'  => $this->l->t('A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased.')
78
+            ];
79
+    }
80 80
 
81
-	public function getFonts() {
82
-		return array(
83
-			[
84
-				'id'    => 'fontdyslexic',
85
-				'img'   => $this->urlGenerator->imagePath($this->appName, 'font-opendyslexic.jpg'),
86
-				'title' => $this->l->t('Dyslexia font'),
87
-				'enableLabel' => $this->l->t('Enable dyslexia font'),
88
-				'text'  => $this->l->t('OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia.')
89
-			]
90
-		);
91
-	}
81
+    public function getFonts() {
82
+        return array(
83
+            [
84
+                'id'    => 'fontdyslexic',
85
+                'img'   => $this->urlGenerator->imagePath($this->appName, 'font-opendyslexic.jpg'),
86
+                'title' => $this->l->t('Dyslexia font'),
87
+                'enableLabel' => $this->l->t('Enable dyslexia font'),
88
+                'text'  => $this->l->t('OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia.')
89
+            ]
90
+        );
91
+    }
92 92
 
93 93
 }
Please login to merge, or discard this patch.