Pārlūkot izejas kodu

ProductFamilySectionPropertySolver : correctif comparaison objet Section

develop
Guillaume Bourgeois pirms 2 gadiem
vecāks
revīzija
e020771ec2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      Solver/Product/ProductFamilySectionPropertySolver.php

+ 1
- 1
Solver/Product/ProductFamilySectionPropertySolver.php Parādīt failu

@@ -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;
}
}

Notiek ielāde…
Atcelt
Saglabāt