@@ -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); |
@@ -110,11 +110,11 @@ |
||
110 | 110 | */ |
111 | 111 | protected function getQueriesBody($mode) |
112 | 112 | { |
113 | - if($mode == 'multiple'){ |
|
113 | + if ($mode == 'multiple') { |
|
114 | 114 | return $this->getMultipleInsertQueriesBody(self::MULTIPLE_QUERY_IMPORT_LIMIT); |
115 | 115 | } |
116 | 116 | |
117 | - return $this->getSingleInsertQueriesBody();; |
|
117 | + return $this->getSingleInsertQueriesBody(); ; |
|
118 | 118 | } |
119 | 119 | |
120 | 120 | /** |