RightUpdateRequest::rules()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 7
rs 9.4285
c 0
b 0
f 0
1
<?php
2
namespace App\Requests;
3
4
class RightUpdateRequest implements IRequest
5
{
6
    /**
7
     * @return array<string,string>
8
     */
9
    public function rules()
10
    {
11
        return [
12
            'name'        => 'max:255',
13
            'description' => 'max:255',
14
        ];
15
    }
16
}
17