Skip to content

Commit

Permalink
Fix small typo
Browse files Browse the repository at this point in the history
Although correct, let's keep it standardised.

Speaking of which, this is the first time I've seen `\stdClass` used as an observer transport reference, instead of `\Magento\Framework\DataObject`. That's not to say it's bad, but inconsistent.
  • Loading branch information
adragus-inviqa authored Jul 16, 2016
1 parent 989af63 commit 31be236
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ public function getSpecifyOptionMessage()
*/
protected function _prepareOptions(\Magento\Framework\DataObject $buyRequest, $product, $processMode)
{
$transport = new \StdClass();
$transport = new \stdClass();
$transport->options = [];
$options = null;
if ($product->getHasOptions()) {
Expand Down

0 comments on commit 31be236

Please sign in to comment.