We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abd634b commit 9a66bf9Copy full SHA for 9a66bf9
app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/AbstractItems.php
@@ -6,6 +6,7 @@
6
namespace Magento\Bundle\Model\Sales\Order\Pdf\Items;
7
8
use Magento\Catalog\Model\Product\Type\AbstractType;
9
+use Magento\Framework\App\ObjectManager;
10
use Magento\Framework\Serialize\Serializer\Json;
11
12
/**
@@ -46,7 +47,7 @@ public function __construct(
46
47
array $data = [],
48
Json $serializer = null
49
) {
- $this->serializer = $serializer ?: \Magento\Framework\App\ObjectManager::getInstance()->get(Json::class);
50
+ $this->serializer = $serializer ?: ObjectManager::getInstance()->get(Json::class);
51
parent::__construct(
52
$context,
53
$registry,
0 commit comments