File tree Expand file tree Collapse file tree 5 files changed +9
-17
lines changed
Components/Updater/Strategy Expand file tree Collapse file tree 5 files changed +9
-17
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ private function compile(string $name): BuildCommand
143143
144144 $ progressBar = tap (
145145 new ProgressBar (
146- $ this ->output ->getVerbosity () > OutputInterface::VERBOSITY_NORMAL ? new NullOutput () : $ section , 25
146+ $ this ->output ->getVerbosity () > OutputInterface::VERBOSITY_NORMAL ? new NullOutput : $ section , 25
147147 )
148148 )->setProgressCharacter ("\xF0\x9F\x8D\xBA" );
149149
Original file line number Diff line number Diff line change @@ -34,9 +34,7 @@ abstract class Command extends BaseCommand
3434 /**
3535 * Define the command's schedule.
3636 */
37- public function schedule (Schedule $ schedule )
38- {
39- }
37+ public function schedule (Schedule $ schedule ) {}
4038
4139 /**
4240 * @param Application $laravel
Original file line number Diff line number Diff line change 22
33namespace LaravelZero \Framework \Components \Updater \Strategy ;
44
5- final class GithubReleasesStrategy extends \Humbug \SelfUpdate \Strategy \GithubStrategy implements StrategyInterface
6- {
7- }
5+ final class GithubReleasesStrategy extends \Humbug \SelfUpdate \Strategy \GithubStrategy implements StrategyInterface {}
Original file line number Diff line number Diff line change @@ -33,9 +33,7 @@ final class Composer implements ComposerContract
3333 *
3434 * @return void
3535 */
36- public function __construct (private readonly Application $ app )
37- {
38- }
36+ public function __construct (private readonly Application $ app ) {}
3937
4038 /**
4139 * {@inheritdoc}
Original file line number Diff line number Diff line change 1818 $ composerMock = $ this ->createMock (ComposerContract::class);
1919 $ this ->app ->instance (ComposerContract::class, $ composerMock );
2020
21- $ output = new class () extends NullOutput
21+ $ output = new class extends NullOutput
2222 {
2323 public function section (): NullOutput
2424 {
25- return new class () extends NullOutput
25+ return new class extends NullOutput
2626 {
27- public function clear ()
28- {
29- }
27+ public function clear () {}
3028 };
3129 }
3230 };
@@ -50,11 +48,11 @@ public function clear()
5048
5149 $ contents = File::get (config_path ('app.php ' ));
5250
53- $ output = new class () extends NullOutput
51+ $ output = new class extends NullOutput
5452 {
5553 public function section (): NullOutput
5654 {
57- return new class () extends NullOutput
55+ return new class extends NullOutput
5856 {
5957 public function clear ()
6058 {
You can’t perform that action at this time.
0 commit comments