Skip to content

Commit

Permalink
Fix the deprecation warning in Field::data
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Nov 11, 2024
1 parent f6cb654 commit ba3778e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Form/Mixin/Value.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
trait Value
{
/**
* @deprecated 3.5.0 Use `::toStoredValue()` instead
* @todo remove when the general field class setup has been refactored
* @deprecated 5.0.0 Use `::toStoredValue()` instead
*/
public function data(bool $default = false): mixed
{
Expand Down

0 comments on commit ba3778e

Please sign in to comment.