check(); } /** * @return array */ public function rules() { // fixed return [ 'current_password' => 'required', 'new_password' => 'required|confirmed|secure_password', 'new_password_confirmation' => 'required', ]; } }