Passed
Branch main (9c812e)
by Thierry
03:26
created
src/DbAdmin/CommandAdmin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
                 \ini_set('memory_limit', \max($this->util->iniBytes('memory_limit'),
197 197
                     2 * \strlen($queries) + \memory_get_usage() + 8e6));
198 198
             }
199
-            catch(\Exception $e) {
199
+            catch (\Exception $e) {
200 200
                 // Do nothing if the option is not modified.
201 201
             }
202 202
         }
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
         if ($commands === 0) {
236 236
             $messages[] = $this->trans->lang('No commands to execute.');
237 237
         } elseif ($onlyErrors) {
238
-            $messages[] =  $this->trans->lang('%d query(s) executed OK.', $commands - $errors);
238
+            $messages[] = $this->trans->lang('%d query(s) executed OK.', $commands - $errors);
239 239
         }
240 240
 
241 241
         return ['results' => $this->results, 'messages' => $messages];
Please login to merge, or discard this patch.