Passed
Push — master ( 617e52...ff4e9f )
by Arthur
35:51
created

CreateScriptRequest::rules()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 1
cts 1
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Modules\Script\Http\Requests;
4
5
use Illuminate\Foundation\Http\FormRequest;
6
7
class CreateScriptRequest extends FormRequest
8
{
9
    /**
10
     * Get the validation rules that apply to the request.
11
     *
12
     * @return array
13
     */
14 1
    public function rules()
15
    {
16
        return [
17
            //
18 1
        ];
19
    }
20
21
    /**
22
     * Determine if the user is authorized to make this request.
23
     *
24
     * @return bool
25
     */
26 1
    public function authorize()
27
    {
28 1
        return true;
29
    }
30
}
31