@@ -79,7 +79,7 @@ |
||
| 79 | 79 | protected function checkIfTableExists(Connection $connection, $table) |
| 80 | 80 | { |
| 81 | 81 | try { |
| 82 | - $query = 'SELECT count(*) as c FROM ' . $table; |
|
| 82 | + $query = 'SELECT count(*) as c FROM '.$table; |
|
| 83 | 83 | $connection->executeQuery($query); |
| 84 | 84 | } catch (\Exception $e) { |
| 85 | 85 | return false; |
@@ -264,7 +264,7 @@ |
||
| 264 | 264 | foreach ($queries as $query) { |
| 265 | 265 | $stmt = $this->dbal->prepare($query); |
| 266 | 266 | $c = 1; |
| 267 | - $dataSliced = array_slice($this->data, ($start*$limit), $limit); |
|
| 267 | + $dataSliced = array_slice($this->data, ($start * $limit), $limit); |
|
| 268 | 268 | |
| 269 | 269 | foreach ($dataSliced as $item) { |
| 270 | 270 | $this->bindValuesToItem($item, $stmt, $c); |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | */ |
| 73 | 73 | protected function getQueriesBody($mode, $limit) |
| 74 | 74 | { |
| 75 | - if($mode == 'multiple'){ |
|
| 75 | + if ($mode == 'multiple') { |
|
| 76 | 76 | return $this->getMultipleInsertQueriesBody($limit); |
| 77 | 77 | } |
| 78 | 78 | |