@@ -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); |
@@ -81,10 +81,10 @@ |
||
| 81 | 81 | */ |
| 82 | 82 | private function getQueriesBody($mode) |
| 83 | 83 | { |
| 84 | - if($mode == 'multiple'){ |
|
| 84 | + if ($mode == 'multiple') { |
|
| 85 | 85 | return $this->getMultipleInsertQueriesBody(self::MULTIPLE_QUERY_IMPORT_LIMIT); |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | - return $this->getSingleInsertQueriesBody();; |
|
| 88 | + return $this->getSingleInsertQueriesBody(); ; |
|
| 89 | 89 | } |
| 90 | 90 | } |