File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/Catalog/Model/ResourceModel/Product Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2520,10 +2520,10 @@ public function getPricesCount()
2520
2520
/**
2521
2521
* Add is_saleable attribute to filter
2522
2522
*
2523
- * @param array|null $condition
2523
+ * @param mixed $condition
2524
2524
* @return $this
2525
2525
*/
2526
- private function addIsSaleableAttributeToFilter (? array $ condition ): self
2526
+ private function addIsSaleableAttributeToFilter ($ condition ): self
2527
2527
{
2528
2528
$ columns = $ this ->getSelect ()->getPart (Select::COLUMNS );
2529
2529
foreach ($ columns as $ columnEntry ) {
@@ -2551,10 +2551,10 @@ private function addIsSaleableAttributeToFilter(?array $condition): self
2551
2551
* Add tier price attribute to filter
2552
2552
*
2553
2553
* @param string $attribute
2554
- * @param array|null $condition
2554
+ * @param mixed $condition
2555
2555
* @return $this
2556
2556
*/
2557
- private function addTierPriceAttributeToFilter (string $ attribute , ? array $ condition ): self
2557
+ private function addTierPriceAttributeToFilter (string $ attribute , $ condition ): self
2558
2558
{
2559
2559
$ attrCode = $ attribute ;
2560
2560
$ connection = $ this ->getConnection ();
You can’t perform that action at this time.
0 commit comments