mirror of
https://github.com/flarum/core.git
synced 2025-08-10 10:24:46 +02:00
chore: recover container
prop
This commit is contained in:
@@ -9,9 +9,17 @@
|
||||
|
||||
namespace Flarum\Foundation;
|
||||
|
||||
use Illuminate\Contracts\Foundation\Application as ApplicationContract;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
abstract class AbstractServiceProvider extends ServiceProvider
|
||||
{
|
||||
//
|
||||
protected ApplicationContract $container;
|
||||
|
||||
public function __construct(ApplicationContract $app)
|
||||
{
|
||||
parent::__construct($app);
|
||||
|
||||
$this->container = $app;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user