[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
peminjaman
/
app
/
Http
/
Requests
/
Student
/
[
Home
]
File: ReturnBorrowingRequest.php
<?php namespace App\Http\Requests\Student; use Illuminate\Foundation\Http\FormRequest; class ReturnBorrowingRequest extends FormRequest { protected $errorBag = 'update'; /** * 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 [ 'note' => 'nullable|max:1000' ]; } /** * Get the error messages for the defined validation rules. * * @return array<string, string> */ public function messages(): array { return [ 'note.max' => 'Kolom catatan maksimal :max karakter!' ]; } }