Passed
Push — main ( 249587...fa7ef3 )
by Thierry
02:21
created
src/Db/Facades/CommandFacade.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
                 ini_set('memory_limit', max($this->admin->iniBytes('memory_limit'),
210 210
                     2 * strlen($queries) + memory_get_usage() + 8e6));
211 211
             }
212
-            catch(\Exception $e) {
212
+            catch (\Exception $e) {
213 213
                 // Do nothing if the option is not modified.
214 214
             }
215 215
         }
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
         if ($commands === 0) {
253 253
             $messages[] = $this->utils->trans->lang('No commands to execute.');
254 254
         } elseif ($onlyErrors) {
255
-            $messages[] =  $this->utils->trans->lang('%d query(s) executed OK.', $commands - $errors);
255
+            $messages[] = $this->utils->trans->lang('%d query(s) executed OK.', $commands - $errors);
256 256
         }
257 257
 
258 258
         return [
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -208,8 +208,7 @@
 block discarded – undo
208 208
             try {
209 209
                 ini_set('memory_limit', max($this->admin->iniBytes('memory_limit'),
210 210
                     2 * strlen($queries) + memory_get_usage() + 8e6));
211
-            }
212
-            catch(\Exception $e) {
211
+            } catch(\Exception $e) {
213 212
                 // Do nothing if the option is not modified.
214 213
             }
215 214
         }
Please login to merge, or discard this patch.