Skip to content

Commit

Permalink
Strict comparison with null instead of is_null function usage
Browse files Browse the repository at this point in the history
  • Loading branch information
sidolov authored Apr 5, 2019
1 parent 8029be3 commit c819cc0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ public function getUsedProducts($product, $requiredAttributeIds = null)
$product->getStoreId(),
$this->getCustomerSession()->getCustomerGroupId()
];
if (!is_null($requiredAttributeIds)) {
if ($requiredAttributeIds !== null) {
sort($requiredAttributeIds);
$keyParts[] = implode('', $requiredAttributeIds);
}
Expand Down

0 comments on commit c819cc0

Please sign in to comment.