mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 20:16:08 +08:00
Fix PHP 5.5 compat
This commit is contained in:
parent
35d3a74872
commit
fec6e39fe1
|
@ -3,6 +3,9 @@
|
|||
use Flarum\Support\ClientAction as BaseClientAction;
|
||||
use Psr\Http\Message\ServerRequestInterface as Request;
|
||||
use Flarum\Core\Groups\Permission;
|
||||
use Flarum\Api\Client;
|
||||
use Flarum\Core\Settings\SettingsRepository;
|
||||
use Flarum\Locale\LocaleManager;
|
||||
|
||||
class ClientAction extends BaseClientAction
|
||||
{
|
||||
|
@ -14,14 +17,19 @@ class ClientAction extends BaseClientAction
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $layout = __DIR__.'/../../../views/admin.blade.php';
|
||||
protected $translationKeys = [
|
||||
|
||||
];
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $translationKeys = [
|
||||
public function __construct(Client $apiClient, LocaleManager $locales, SettingsRepository $settings)
|
||||
{
|
||||
parent::__construct($apiClient, $locales, $settings);
|
||||
|
||||
];
|
||||
$this->layout = __DIR__.'/../../../views/admin.blade.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
|
Loading…
Reference in New Issue
Block a user