|string> */ public function rules(): array { return [ 'firstname' => ['nullable', 'string', 'max:255'], 'lastname' => ['nullable', 'string', 'max:255'], 'displayname' => ['nullable', 'string', 'max:255'], 'email' => [ 'required', 'string', 'lowercase', 'email', 'max:255', Rule::unique(User::class)->ignore($this->user()->id), ], 'phone' => ['nullable', 'string', 'max:32'], 'timezone' => ['nullable', 'string', 'max:64'], ]; } }