Skip to content

Commit

Permalink
More specific phpType()
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Oct 15, 2024
1 parent 6693953 commit 3969e3d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,14 @@ public static function textPartLanguage(): array
->all();
}

/**
* @inheritdoc
*/
public static function phpType(): string
{
return sprintf('%s|null', FieldData::class);
}

/**
* Returns the nested element manager for a given CKEditor field.
*
Expand Down

0 comments on commit 3969e3d

Please sign in to comment.