Skip to content

Commit 31be236

Browse files
Fix small typo
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.
1 parent 989af63 commit 31be236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/Product/Type/AbstractType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ public function getSpecifyOptionMessage()
566566
*/
567567
protected function _prepareOptions(\Magento\Framework\DataObject $buyRequest, $product, $processMode)
568568
{
569-
$transport = new \StdClass();
569+
$transport = new \stdClass();
570570
$transport->options = [];
571571
$options = null;
572572
if ($product->getHasOptions()) {

0 commit comments

Comments
 (0)