1
0
mirror of https://github.com/flarum/core.git synced 2025-07-23 09:41:26 +02:00

Comply to new interface

This commit is contained in:
Toby Zerner
2015-06-17 12:48:10 +09:30
parent 4b5367511f
commit 6310bfe702

View File

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