Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | class CreateLanguageRequest extends AbstractFormRequest |
||
28 | { |
||
29 | /** |
||
30 | * Does the current user have access? |
||
31 | * |
||
32 | * @return bool |
||
33 | */ |
||
34 | 2 | public function authorize(): bool |
|
35 | { |
||
36 | 2 | return true; |
|
37 | } |
||
38 | |||
39 | /** |
||
40 | * The authorization rules. |
||
41 | * |
||
42 | * @return array |
||
43 | */ |
||
44 | public function rules(): array |
||
50 | ]; |
||
51 | } |
||
53 |