You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
		
		
		
		
		
			
		
			
				
					
					
						
							22 lines
						
					
					
						
							498 B
						
					
					
				
			
		
		
	
	
							22 lines
						
					
					
						
							498 B
						
					
					
				| <?php | |
| 
 | |
| namespace App\Http\Requests; | |
| 
 | |
| use App\Models\User; | |
| use Illuminate\Foundation\Http\FormRequest; | |
| use Illuminate\Validation\Rule; | |
| 
 | |
| class ProfileUpdateRequest 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 | |
|     { | |
|         return [ | |
|             'name' => ['required', 'string', 'max:255'], | |
|         ]; | |
|     } | |
| }
 | |
| 
 |