mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 06:03:39 +08:00
Fix PHP 5.5 compat
This commit is contained in:
parent
2d090f9b3a
commit
0d3b578ea3
|
@ -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