Completed
Push — master ( 9ed240...526dfe )
by Razon
02:55
created

app/Http/Api/Backend/Controller/Controller.php (1 issue)

Labels
Severity
1
<?php
2
namespace App\Http\Api\Backend\Controller;
3
4
use App\Http\Rest\Controller as BaseController;
5
use yii\rest\OptionsAction;
6
7
class Controller extends BaseController
8
{
9
    use ControllerTrait;
0 ignored issues
show
The trait App\Http\Api\Backend\Controller\ControllerTrait requires the property $params which is not provided by App\Http\Api\Backend\Controller\Controller.
Loading history...
10
11
    public function actions()
12
    {
13
        $acitons = parent::actions();
14
15
        $acitons['options'] = [
16
            'class' => OptionsAction::class,
17
        ];
18
19
        return $acitons;
20
    }
21
}
22