Files
investbrain/app/Http/Requests/HoldingRequest.php
T

22 lines
426 B
PHP
Raw Normal View History

2025-01-27 20:26:09 -06:00
<?php
namespace App\Http\Requests;
class HoldingRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
*/
public function rules(): array
{
$rules = [
2025-01-28 17:14:49 -06:00
'reinvest_dividends' => ['sometimes', 'boolean'],
2025-01-27 20:26:09 -06:00
];
return $rules;
}
}