Passed
Push — master ( 433c7f...809ac4 )
by Falk
46s
created
src/Helper/MailHelper.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Burzum\ZurbInky\View\Helper;
5 5
 
Please login to merge, or discard this patch.
src/View/InkyView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Burzum\ZurbInky\View;
5 5
 
Please login to merge, or discard this patch.