One Hat Cyber Team
Your IP :
3.140.197.28
Server IP :
192.145.235.60
Server :
Linux ngx365.inmotionhosting.com 5.14.0-427.33.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 30 09:45:56 EDT 2024 x86_64
Server Software :
Apache
PHP Version :
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
centos12
/
www
/
centosuit
/
app
/
Http
/
Requests
/
Edit File:
StoreDealNote.php
<?php namespace App\Http\Requests; use App\Http\Requests\CoreRequest; class StoreDealNote extends CoreRequest { /** * Determine if the user is authorized to make this request. */ public function authorize(): bool { return true; } /** * Get the validation rules that apply to the request. * * @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string> */ public function rules(): array { return [ 'details' => [ 'required', function ($attribute, $value, $fail) { $comment = trim_editor($value);; if ($comment == '') { $fail(__('validation.required')); } } ] ]; } }
Simpan