@@ -167,14 +167,14 @@ private function migrateDatabase()
167167 $ step = new MigrationStep ($ manager );
168168 $ offset = 0 ;
169169 do {
170- $ progress ->setCurrent ($ offset );
170+ $ progress ->setProgress ($ offset );
171171 $ result = $ step ->run ($ offset );
172172 if ($ result instanceof ErrorResult) {
173173 throw new \Exception ($ result ->getMessage (), 0 , $ result ->getException ());
174174 }
175175
176176 $ offset = $ result ->getOffset ();
177- $ progress ->setCurrent ($ offset );
177+ $ progress ->setProgress ($ offset );
178178 } while ($ result instanceof ValidResult);
179179 $ progress ->finish ();
180180 $ this ->IOHelper ->writeln ('' );
@@ -202,13 +202,13 @@ private function importSnippets()
202202
203203 $ offset = 0 ;
204204 do {
205- $ progress ->setCurrent ($ offset );
205+ $ progress ->setProgress ($ offset );
206206 $ result = $ snippetStep ->run ($ offset );
207207 if ($ result instanceof ErrorResult) {
208208 throw new \Exception ($ result ->getMessage (), 0 , $ result ->getException ());
209209 }
210210 $ offset = $ result ->getOffset ();
211- $ progress ->setCurrent ($ offset );
211+ $ progress ->setProgress ($ offset );
212212 } while ($ result instanceof ValidResult);
213213 $ progress ->finish ();
214214 $ this ->IOHelper ->writeln ('' );
0 commit comments