mirror of
https://github.com/flarum/core.git
synced 2025-08-28 10:30:54 +02:00
chore: service provider no longer has to change app type
This commit is contained in:
@@ -9,24 +9,9 @@
|
||||
|
||||
namespace Flarum\Foundation;
|
||||
|
||||
use Illuminate\Contracts\Container\Container;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
abstract class AbstractServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* @deprecated perpetually, not removed because Laravel needs it.
|
||||
* @var Container
|
||||
*/
|
||||
protected $app;
|
||||
|
||||
public function __construct(
|
||||
protected Container $container
|
||||
) {
|
||||
parent::__construct($container);
|
||||
}
|
||||
|
||||
public function register()
|
||||
{
|
||||
}
|
||||
//
|
||||
}
|
||||
|
Reference in New Issue
Block a user