Completed
Push — master ( 92a554...58f732 )
by Manel
05:05
created

EnrollmentCreateRequest::authorize()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 0
cts 4
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Scool\EnrollmentMobile\Http\Requests;
4
5
use Illuminate\Foundation\Http\FormRequest;
6
7
/**
8
 * Class EnrollmentCreateRequest
9
 * @package Scool\EnrollmentMobile\Http\Requests
10
 */
11
class EnrollmentCreateRequest extends FormRequest
0 ignored issues
show
Bug introduced by
Possible parse error: class missing opening or closing brace
Loading history...
12
{
13
    /**
14
     * Determine if the user is authorized to make this request.
15
     *
16
     * @return bool
17
     */
18
    public function authorize()
19
    {
20
<<<<<<< HEAD
0 ignored issues
show
Bug introduced by
This code did not parse for me. Apparently, there is an error somewhere around this line:

Syntax error, unexpected T_SL
Loading history...
21
        //return false; //Per defecte
22
=======
23
        //De moment true
24
>>>>>>> 92a55437464d45d8f28bae26a5a84fc695a03898
25
        return true;
26
    }
27
28
29
30
    /**
31
     * Get the validation rules that apply to the request.
32
     *
33
     * @return array
34
     */
35
    public function rules()
36
    {
37
        return [
38
            //
39
        ];
40
    }
41
}
42