Completed
Push — master ( 9b9020...8f5910 )
by Razon
02:07
created

TicketController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 6
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A actions() 0 7 1
1
<?php
2
namespace App\Http\Api\Backend\Controller;
3
4
use App\Model\Ticket;
5
6
class TicketController extends ActiveController
7
{
8
    public $modelClass = Ticket::class;
9
10
    public function actions()
11
    {
12
        $actions = parent::actions();
13
14
        return [
15
            'create' => $actions['create'],
16
            'options' => $actions['options'],
17
        ];
18
    }
19
}
20