mirror of
https://github.com/flarum/core.git
synced 2025-10-20 03:06:07 +02:00
Typehint container contract instead of application class.
This helps us in decoupling from Laravel, as we only need any implementation of the container contract now.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php namespace Flarum\Extend;
|
||||
|
||||
use Illuminate\Foundation\Application;
|
||||
use Illuminate\Contracts\Container\Container;
|
||||
|
||||
interface ExtenderInterface
|
||||
{
|
||||
public function extend(Application $app);
|
||||
public function extend(Container $container);
|
||||
}
|
||||
|
Reference in New Issue
Block a user