@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | * @param array $types |
| 47 | 47 | * |
| 48 | 48 | * @return string |
| 49 | - */ |
|
| 49 | + */ |
|
| 50 | 50 | protected function values(array $row, array $blobs, array $types) |
| 51 | 51 | { |
| 52 | 52 | $values = []; |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | * @param int $limit |
| 74 | 74 | * |
| 75 | 75 | * @return string |
| 76 | - */ |
|
| 76 | + */ |
|
| 77 | 77 | private function message($statement, int $limit) |
| 78 | 78 | { |
| 79 | 79 | $numRows = $statement->rowCount(); |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | * @param int $limit |
| 96 | 96 | * |
| 97 | 97 | * @return array |
| 98 | - */ |
|
| 98 | + */ |
|
| 99 | 99 | protected function select($statement, $limit = 0) |
| 100 | 100 | { |
| 101 | 101 | // No resultset |
@@ -196,7 +196,7 @@ discard block |
||
| 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 |
||
| 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]; |