Skip to content

Commit

Permalink
Fix valueType()
Browse files Browse the repository at this point in the history
Fixes #13
  • Loading branch information
brandonkelly committed Oct 15, 2024
1 parent 80c232e commit 4c85109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HtmlField.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ abstract class HtmlField extends Field implements PreviewableFieldInterface
*/
public static function valueType(): string
{
return 'string';
return sprintf('%s|null', HtmlFieldData::class);
}

/**
Expand Down

0 comments on commit 4c85109

Please sign in to comment.