| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class WebhookEventRequest extends /** @scrutinizer ignore-call */ |
||
| 12 | FormRequest |
||
| 13 | { |
||
| 14 | |||
| 15 | |||
| 16 | /** |
||
| 17 | * Determine if the user is authorized to make this request. |
||
| 18 | * |
||
| 19 | * @return bool |
||
| 20 | */ |
||
| 21 | public function authorize() |
||
| 22 | { |
||
| 23 | return true; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Get the validation rules that apply to the request. |
||
| 28 | * |
||
| 29 | * @return array |
||
| 30 | */ |
||
| 31 | public function rules() |
||
| 35 | ]; |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Get the error messages for the defined validation rules. |
||
| 40 | * |
||
| 41 | * @return array |
||
| 42 | */ |
||
| 43 | public function messages() |
||
| 50 |