Test Failed
Push — master ( 20d1d2...8b8ea2 )
by Florian
03:50
created
src/Helper/MailHelper.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -10,29 +10,29 @@
 block discarded – undo
10 10
  */
11 11
 class MailHelper extends HtmlHelper {
12 12
 
13
-	public function initialize(array $config) {
14
-		parent::initialize($config);
15
-	}
16
-
17
-	public function setDefaultUrlParams($params, $merge = true) {
18
-		$this->setConfig('urlParams', $params, $merge);
19
-	}
20
-
21
-	public function link($title, $url = null, array $options = []) {
22
-		if (is_array($url)) {
23
-			if (!isset($url['?'])) {
24
-				$url['?'] = [];
25
-			}
26
-			if (isset($options['urlParams'])) {
27
-				if (is_array($options['urlParams'])) {
28
-					$url['?'] = array_merge($url['?'], $options['urlParams']);
29
-				}
30
-			} else {
31
-				$url['?'] = array_merge($url['?'], (array)$this->getConfig('urlParams'));
32
-			}
33
-		}
34
-
35
-		return parent::link($title, $url, $options);
36
-	}
13
+    public function initialize(array $config) {
14
+        parent::initialize($config);
15
+    }
16
+
17
+    public function setDefaultUrlParams($params, $merge = true) {
18
+        $this->setConfig('urlParams', $params, $merge);
19
+    }
20
+
21
+    public function link($title, $url = null, array $options = []) {
22
+        if (is_array($url)) {
23
+            if (!isset($url['?'])) {
24
+                $url['?'] = [];
25
+            }
26
+            if (isset($options['urlParams'])) {
27
+                if (is_array($options['urlParams'])) {
28
+                    $url['?'] = array_merge($url['?'], $options['urlParams']);
29
+                }
30
+            } else {
31
+                $url['?'] = array_merge($url['?'], (array)$this->getConfig('urlParams'));
32
+            }
33
+        }
34
+
35
+        return parent::link($title, $url, $options);
36
+    }
37 37
 
38 38
 }
Please login to merge, or discard this patch.