@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | $table->addColumn($columnName, $type, $options); |
111 | 111 | |
112 | 112 | if ($index) { |
113 | - $table->addIndex([ $columnName ]); |
|
113 | + $table->addIndex([$columnName]); |
|
114 | 114 | } |
115 | 115 | } |
116 | 116 | |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | } |
172 | 172 | } |
173 | 173 | |
174 | - $select->execute([ 'id' => $record->getZohoId() ]); |
|
174 | + $select->execute(['id' => $record->getZohoId()]); |
|
175 | 175 | $result = $select->fetch(\PDO::FETCH_ASSOC); |
176 | 176 | if ($result === false) { |
177 | 177 | $data['id'] = $record->getZohoId(); |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | |
180 | 180 | $this->connection->insert($tableName, $data, $types); |
181 | 181 | } else { |
182 | - $identifier = ['id' => $record->getZohoId() ]; |
|
182 | + $identifier = ['id' => $record->getZohoId()]; |
|
183 | 183 | $types['id'] = 'string'; |
184 | 184 | |
185 | 185 | $this->connection->update($tableName, $data, $identifier, $types); |