ExampleUpdateRequest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 11
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A rules() 0 4 1
1
<?php
2
3
namespace Modules\Example\Http\Requests;
4
5
use Modules\Core\Http\Requests\Request;
6
7
class ExampleUpdateRequest extends Request
8
{
9
    /**
10
     * Get the validation rules that apply to the request.
11
     *
12
     * @return array
13
     */
14
    public function rules()
15
    {
16
        return [
17
            'value' => 'required',
18
        ];
19
    }
20
}
21