We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a047c76 + a4c4d79 commit 6d9f343Copy full SHA for 6d9f343
app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute/OptionValueProvider.php
@@ -32,14 +32,14 @@ public function __construct(ResourceConnection $connection)
32
/**
33
* Get EAV attribute option value by option id
34
*
35
- * @param int $valueId
+ * @param int $optionId
36
* @return string|null
37
*/
38
- public function get(int $valueId): ?string
+ public function get(int $optionId): ?string
39
{
40
$select = $this->connection->select()
41
->from($this->connection->getTableName('eav_attribute_option_value'), 'value')
42
- ->where('value_id = ?', $valueId);
+ ->where('option_id = ?', $optionId);
43
44
$result = $this->connection->fetchOne($select);
45
0 commit comments