Passed
Push — master ( c42747...1cfe16 )
by Greg
07:53
created
app/Http/RequestHandlers/ReportSetupPage.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
         Auth::checkComponentAccess($module, 'report', $tree, $user);
86 86
 
87
-        $xref    = $request->getQueryParams()['xref'] ?? '';
87
+        $xref = $request->getQueryParams()['xref'] ?? '';
88 88
 
89 89
         $xml_filename = $module->resourcesFolder() . $module->xmlFilename();
90 90
 
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
                     break;
140 140
 
141 141
                 case 'DATE':
142
-                    $attributes       += [
142
+                    $attributes += [
143 143
                         'type'  => 'text',
144 144
                         'value' => $input['default'],
145 145
                         'dir'   => 'ltr',
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
                 default:
153 153
                     switch ($input['type']) {
154 154
                         case 'text':
155
-                            $attributes       += [
155
+                            $attributes += [
156 156
                                 'type'  => 'text',
157 157
                                 'value' => $input['default'],
158 158
                             ];
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
                             break;
161 161
 
162 162
                         case 'checkbox':
163
-                            $attributes       += [
163
+                            $attributes += [
164 164
                                 'type'    => 'checkbox',
165 165
                                 'checked' => (bool) $input['default'],
166 166
                             ];
Please login to merge, or discard this patch.