@@ -36,7 +36,7 @@ |
||
36 | 36 | |
37 | 37 | public function setVersion($version) |
38 | 38 | { |
39 | - $this->getDbDataset()->execSQL('UPDATE migration_version SET version = :version', ['version' => $version]); |
|
39 | + $this->getDbDataset()->execSQL('UPDATE migration_version SET version = :version', [ 'version' => $version ]); |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | protected function checkExistsVersion() |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | public function reset($upVersion = null) |
121 | 121 | { |
122 | 122 | if ($this->_callableProgress) { |
123 | - call_user_func_array($this->_callableProgress, ['reset', 0]); |
|
123 | + call_user_func_array($this->_callableProgress, [ 'reset', 0 ]); |
|
124 | 124 | } |
125 | 125 | $this->getDbCommand()->dropDatabase(); |
126 | 126 | $this->getDbCommand()->createDatabase(); |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | && file_exists($file = $this->getMigrationSql($currentVersion, $increment)) |
171 | 171 | ) { |
172 | 172 | if ($this->_callableProgress) { |
173 | - call_user_func_array($this->_callableProgress, ['migrate', $currentVersion]); |
|
173 | + call_user_func_array($this->_callableProgress, [ 'migrate', $currentVersion ]); |
|
174 | 174 | } |
175 | 175 | |
176 | 176 | $this->getDbCommand()->executeSql(file_get_contents($file)); |