ServerDestroyRequest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 11
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A rules() 0 4 1
1
<?php
2
3
namespace Gameap\Http\Requests\Admin;
4
5
use Illuminate\Foundation\Http\FormRequest;
6
7
class ServerDestroyRequest extends FormRequest
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
            'delete_files' => 'nullable',
18
        ];
19
    }
20
}
21