Skip to content

Commit b398db0

Browse files
authored
refactor: remove unused $app parameter in ArtisanServiceProvider (#57658)
Remove unused $app parameter from ConfigPublishCommand singleton closure as it is not needed.
1 parent ca88219 commit b398db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Foundation/Providers/ArtisanServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ protected function registerConfigMakeCommand()
409409
*/
410410
protected function registerConfigPublishCommand()
411411
{
412-
$this->app->singleton(ConfigPublishCommand::class, function ($app) {
412+
$this->app->singleton(ConfigPublishCommand::class, function () {
413413
return new ConfigPublishCommand;
414414
});
415415
}

0 commit comments

Comments
 (0)