Skip to content

Commit

Permalink
Add deprecation for fieldtype
Browse files Browse the repository at this point in the history
  • Loading branch information
blankse committed Sep 5, 2023
1 parent 4202ef3 commit b0a2f0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@

class IndexFieldSelectionCombo extends Select
{
/**
* @deprecated Will be removed in ecommerce-framework-bundle 2, use getFieldType() instead.
*/
public string $fieldtype = 'indexFieldSelectionCombo';

public bool $specificPriceField = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

class IndexFieldSelectionField extends Textarea
{
/**
* @deprecated Will be removed in ecommerce-framework-bundle 2, use getFieldType() instead.
*/
public string $fieldtype = 'indexFieldSelectionField';

public bool $specificPriceField = false;
Expand Down

0 comments on commit b0a2f0c

Please sign in to comment.