mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
Comply to new interface
This commit is contained in:
parent
61bea371ab
commit
7596dec7b9
|
@ -1,6 +1,6 @@
|
|||
<?php namespace Flarum\Extend;
|
||||
|
||||
use Illuminate\Foundation\Application;
|
||||
use Illuminate\Contracts\Container\Container;
|
||||
|
||||
class ApiLink implements ExtenderInterface
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ class ApiLink implements ExtenderInterface
|
|||
$this->relationships = $relationships;
|
||||
}
|
||||
|
||||
public function extend(Application $app)
|
||||
public function extend(Container $container)
|
||||
{
|
||||
foreach ((array) $this->actions as $action) {
|
||||
$parts = explode('.', $action);
|
||||
|
|
Loading…
Reference in New Issue
Block a user