Files
sam-api/app/Http/Requests/Design/GetEstimateParametersRequest.php
hskwon cc206fdbed style: Laravel Pint 코드 포맷팅 적용
- PSR-12 스타일 가이드 준수
- 302개 파일 스타일 이슈 자동 수정
- 코드 로직 변경 없음 (포맷팅만)
2025-11-06 17:45:49 +09:00

42 lines
938 B
PHP

<?php
namespace App\Http\Requests\Design;
use Illuminate\Foundation\Http\FormRequest;
class GetEstimateParametersRequest extends FormRequest
{
/**
* 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 [
'company_name' => 'nullable|string|max:100',
];
}
/**
* Get custom messages for validator errors.
*
* @return array<string, string>
*/
public function messages(): array
{
return [
'company_name.string' => __('error.validation.string'),
'company_name.max' => __('error.validation.max.string'),
];
}
}