1
0
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:
Franz Liedke
2015-06-03 03:05:10 +02:00
parent c616cd811b
commit 7b45ca3a78
13 changed files with 32 additions and 34 deletions

View File

@@ -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);
}