From 432f118fd0896b87369540b075e45ec918c31bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sascha=20I=C3=9Fbr=C3=BCcker?= Date: Wed, 2 Oct 2024 09:30:48 +0200 Subject: [PATCH] docs: fix return type in custom field Java example --- articles/components/custom-field/index.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/components/custom-field/index.adoc b/articles/components/custom-field/index.adoc index f4506c46a8..cf71538b58 100644 --- a/articles/components/custom-field/index.adoc +++ b/articles/components/custom-field/index.adoc @@ -126,7 +126,7 @@ class PhoneField extends CustomField { } @Override - protected String generateModelValue() { + protected Phone generateModelValue() { return new Phone(code.getValue(), number.getValue()); }