We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 996e3a8 commit d0885beCopy full SHA for d0885be
app/Providers/AppServiceProvider.php
@@ -35,7 +35,7 @@ final class AppServiceProvider extends ServiceProvider
35
* @var array<class-string|int, class-string>
36
*/
37
public array $singletons = [
38
- MusicManager::class,
+ // MusicManager::class,
39
];
40
41
/**
bootstrap/app.php
@@ -11,6 +11,7 @@
11
* @see https://github.com/guanguans/music-dl
12
13
14
+use App\MusicManager;
15
use Illuminate\Foundation\Configuration\Exceptions;
16
use Illuminate\Log\LogManager;
17
use LaravelZero\Framework\Application;
@@ -33,4 +34,7 @@
33
34
}
});
})
+ ->withSingletons([
+ MusicManager::class,
+ ])
->create();
0 commit comments