RoleCreateRequest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A rules() 0 7 1
1
<?php
2
namespace App\Requests;
3
4
class RoleCreateRequest implements IRequest
5
{
6
    /**
7
     * @return array<string,string>
8
     */
9
    public function rules()
10
    {
11
        return [
12
            'name'        => 'required|max:255',
13
            'description' => 'required|max:255',
14
        ];
15
    }
16
}
17