Comply to new interface

This commit is contained in:
Toby Zerner 2015-06-17 12:48:10 +09:30
parent 61bea371ab
commit 7596dec7b9

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