ldc-com-app-bo/app/Http/Requests/Bo/Formularies/UpdateFormularyRequest.php
2025-05-20 11:45:42 +02:00

19 lines
383 B
PHP

<?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(): array
{
$rules = [
'type' => 'nullable',
];
return \array_merge(parent::rules(), $rules);
}
}