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