diff --git a/Models/AttributeType.php b/Models/AttributeType.php index 5739a02..bc97731 100755 --- a/Models/AttributeType.php +++ b/Models/AttributeType.php @@ -89,6 +89,9 @@ class AttributeType implements \JsonSerializable */ public array $defaults = []; + // @todo Allow to reference enum instead of default values + // Currently we create language and country values which is insane + /** * Default attribute value * diff --git a/Theme/Backend/Components/AttributeView.php b/Theme/Backend/Components/AttributeView.php index 3fea6e8..3a57b84 100644 --- a/Theme/Backend/Components/AttributeView.php +++ b/Theme/Backend/Components/AttributeView.php @@ -65,7 +65,7 @@ class AttributeView extends View /** * Reference id * - * @var string + * @var int * @since 1.0.0 */ public int $refId = 0;