Skip to content

Commit

Permalink
MSI: issue #290
Browse files Browse the repository at this point in the history
- MEQP2 fixes;
  • Loading branch information
deadlexus committed Dec 17, 2017
1 parent 81fc718 commit 6cdfe6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Inventory/Model/SourceItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function setSku($sku)
public function getSourceId()
{
$sourceId = $this->getData(self::SOURCE_ID);
return is_null($sourceId) ? null : (int)$sourceId;
return ($sourceId === null) ? null : (int)$sourceId;
}

/**
Expand Down

0 comments on commit 6cdfe6e

Please sign in to comment.