ldc-com-app-bo/app/Http/Requests/Bo/Formularies/UpdateFormularyRequest.php

20 lines
376 B
PHP
Raw Normal View History

2023-07-17 16:39:18 +02:00
<?php
namespace App\Http\Requests\Bo\Formularies;
class UpdateFormularyRequest extends StoreFormularyRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
$rules = [
'type' => 'nullable',
];
return \array_merge(parent::rules(), $rules);
}
}