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

EnrollmentCreateRequest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 27
ccs 0
cts 9
cp 0
rs 10
c 0
b 0
f 0
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