Completed
Push — master ( ab9b64...d071e5 )
by Manu
02:02
created

InventoryUpdateRequest::authorize()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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