File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
src/Symfony/Component/Console/Helper Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -523,7 +523,7 @@ private function setMaxSteps($max)
523523 private function overwrite ($ message )
524524 {
525525 if ($ this ->overwrite ) {
526- if (!$ this ->isFirstRun () ) {
526+ if (!$ this ->firstRun ) {
527527 // Move the cursor to the beginning of the line
528528 $ this ->output ->write ("\x0D" );
529529
@@ -539,7 +539,7 @@ private function overwrite($message)
539539 $ this ->output ->writeln ('' );
540540 }
541541
542- $ this ->setFirstRun ( false ) ;
542+ $ this ->firstRun = false ;
543543
544544 $ this ->output ->write ($ message );
545545 }
@@ -632,14 +632,4 @@ private static function initFormats()
632632 'debug_nomax ' => ' %current% [%bar%] %elapsed:6s% %memory:6s% ' ,
633633 );
634634 }
635-
636- private function isFirstRun ()
637- {
638- return $ this ->firstRun ;
639- }
640-
641- private function setFirstRun ($ firstRun )
642- {
643- $ this ->firstRun = (bool ) $ firstRun ;
644- }
645635}
You can’t perform that action at this time.
0 commit comments