Passed
Push — master ( bf8b66...f610dd )
by Andreas
10:08
created
src/midcom/grid/grid.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         if (file_exists(MIDCOM_STATIC_ROOT . $jqgrid_path . 'i18n/grid.locale-' . $language . '.js')) {
91 91
             $lang = $language;
92 92
         }
93
-        $head->add_jsfile(MIDCOM_STATIC_URL . $jqgrid_path . 'i18n/grid.locale-'. $lang . '.js');
93
+        $head->add_jsfile(MIDCOM_STATIC_URL . $jqgrid_path . 'i18n/grid.locale-' . $lang . '.js');
94 94
         $head->add_jsfile(MIDCOM_STATIC_URL . $jqgrid_path . 'jquery.jqgrid.min.js');
95 95
 
96 96
         $head->add_jsfile(MIDCOM_STATIC_URL . '/midcom.grid/jqGrid.custom.js');
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     public function set_select_column(string $name, string $label, string $options, array $selectdata) : self
160 160
     {
161 161
         $selectstring = implode(';', array_map(
162
-            function ($key, $value) {
162
+            function($key, $value) {
163 163
                 return $key . ':' . $value;
164 164
             },
165 165
             array_keys($selectdata),
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
      */
206 206
     public function remove_column(string $name)
207 207
     {
208
-        if (   empty($name)
208
+        if (empty($name)
209 209
             || !array_key_exists($name, $this->_columns)) {
210 210
             throw new midcom_error('Invalid column name ' . $name);
211 211
         }
Please login to merge, or discard this patch.