Completed
Push — master ( f6c233...37689c )
by Joao
03:06
created
src/Commands/AbstractCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.
src/Migration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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));
Please login to merge, or discard this patch.