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)
523
523
private function overwrite ($ message )
524
524
{
525
525
if ($ this ->overwrite ) {
526
- if (!$ this ->isFirstRun () ) {
526
+ if (!$ this ->firstRun ) {
527
527
// Move the cursor to the beginning of the line
528
528
$ this ->output ->write ("\x0D" );
529
529
@@ -539,7 +539,7 @@ private function overwrite($message)
539
539
$ this ->output ->writeln ('' );
540
540
}
541
541
542
- $ this ->setFirstRun ( false ) ;
542
+ $ this ->firstRun = false ;
543
543
544
544
$ this ->output ->write ($ message );
545
545
}
@@ -632,14 +632,4 @@ private static function initFormats()
632
632
'debug_nomax ' => ' %current% [%bar%] %elapsed:6s% %memory:6s% ' ,
633
633
);
634
634
}
635
-
636
- private function isFirstRun ()
637
- {
638
- return $ this ->firstRun ;
639
- }
640
-
641
- private function setFirstRun ($ firstRun )
642
- {
643
- $ this ->firstRun = (bool ) $ firstRun ;
644
- }
645
635
}
You can’t perform that action at this time.
0 commit comments