Completed
Push — bootstrap4 ( dc7ca1...d74498 )
by Simon
06:19
created
includes/Helpers/TypeAheadHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,9 +22,9 @@  discard block
 block discarded – undo
22 22
     {
23 23
         $dataList = '';
24 24
         foreach ($generator() as $dataItem) {
25
-            $dataList .= '"' . htmlentities($dataItem) . '", ';
25
+            $dataList .= '"'.htmlentities($dataItem).'", ';
26 26
         }
27
-        $dataList = "[" . rtrim($dataList, ", ") . "]";
27
+        $dataList = "[".rtrim($dataList, ", ")."]";
28 28
 
29 29
         $script = <<<JS
30 30
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         }
55 55
 
56 56
         foreach ($this->definedClasses as $class => $js) {
57
-            $jsBlocks = $js . "\r\n\r\n";
57
+            $jsBlocks = $js."\r\n\r\n";
58 58
         }
59 59
 
60 60
         $data = <<<HTML
Please login to merge, or discard this patch.
includes/Tasks/JsonApiPageBase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             $CORSallowed = $this->getSiteConfiguration()->getCrossOriginResourceSharingHosts();
36 36
 
37 37
             if (in_array($httpOrigin, $CORSallowed)) {
38
-                header("Access-Control-Allow-Origin: " . $httpOrigin);
38
+                header("Access-Control-Allow-Origin: ".$httpOrigin);
39 39
             }
40 40
         }
41 41
 
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
         $targetVar = WebRequest::getString('targetVariable');
74 74
         if ($targetVar !== null && preg_match('/^[a-z]+$/', $targetVar)) {
75
-            $data = $targetVar . ' = ' . $data . ';';
75
+            $data = $targetVar.' = '.$data.';';
76 76
         }
77 77
 
78 78
         return $data;
Please login to merge, or discard this patch.