@@ -12,7 +12,7 @@ class ProductFamilySectionPropertySolver | |||
public function getProductFamilySectionProperty(ProductFamilyInterface $productFamily, SectionInterface $section):? ProductFamilySectionPropertyInterface | |||
{ | |||
foreach ($productFamily->getProductFamilySectionProperties() as $productFamilySectionProperty) { | |||
if ($productFamilySectionProperty->getSection() == $section) { | |||
if ($productFamilySectionProperty->getSection() === $section) { | |||
return $productFamilySectionProperty; | |||
} | |||
} |