qual: phpdoc for htdocs/variants/class/ProductAttributeValue.class.php (#30050)

* qual: phpdoc for htdocs/variants/class/ProductAttributeValue.class.php

htdocs/variants/class/ProductAttributeValue.class.php	78	Plugin PhanPluginUnknownPropertyType Property \ProductAttributeValue->id has an initial type that cannot be inferred

htdocs/variants/class/ProductAttributeValue.class.php	79	Plugin PhanPluginUnknownPropertyType Property \ProductAttributeValue->fk_product_attribute has an initial type that cannot be inferred

htdocs/variants/class/ProductAttributeValue.class.php	80	Plugin PhanPluginUnknownPropertyType Property \ProductAttributeValue->ref has an initial type that cannot be inferred

htdocs/variants/class/ProductAttributeValue.class.php	81	Plugin PhanPluginUnknownPropertyType Property \ProductAttributeValue->value has an initial type that cannot be inferred

htdocs/variants/class/ProductAttributeValue.class.php	82	Plugin PhanPluginUnknownPropertyType Property \ProductAttributeValue->position has an initial type that cannot be inferred

* phpcs

* better wording

* phpcs
This commit is contained in:
thibdrev 2024-06-17 13:22:47 +02:00 committed by GitHub
parent efdc7f92b9
commit 57c75aa350
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,10 +75,35 @@ class ProductAttributeValue extends CommonObjectLine
'value' => array('type' => 'varchar(255)', 'label' => 'Value', 'enabled' => 1, 'position' => 30, 'notnull' => 1, 'visible' => 1, 'searchall' => 1, 'css' => 'minwidth300', 'help' => "", 'showoncombobox' => 1,),
'position' => array('type' => 'integer', 'label' => 'Rank', 'enabled' => 1, 'visible' => 0, 'default' => '0', 'position' => 200, 'notnull' => 1,),
);
/**
* ID of the ProductAttributeValue
* @var int
*/
public $id;
/**
* ID of the parent attribute (ex: ID of the attribute "COLOR")
* @var int
*/
public $fk_product_attribute;
/**
* Reference of the ProductAttributeValue (ex: "BLUE_1" or "RED_3")
* @var string
*/
public $ref;
/**
* Label of the ProductAttributeValue (ex: "Dark blue" or "Chili Red")
* @var string
*/
public $value;
/**
* Sorting position of the ProductAttributeValue
* @var int
*/
public $position;
/**