Skip to content

Commit 062a0c2

Browse files
author
Alex Bomko
committed
MAGETWO-51947: Prepare pull request
1 parent 193ce22 commit 062a0c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/BundleSampleData/Model/Product.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ protected function prepareProduct($product, $data)
116116
private function getOptionFactory()
117117
{
118118

119-
if (!($this->optionFactory)) {
119+
if (!$this->optionFactory) {
120120
$this->optionFactory = ObjectManager::getInstance()->get(
121121
'\Magento\Bundle\Api\Data\OptionInterfaceFactory'
122122
);
@@ -133,7 +133,7 @@ private function getOptionFactory()
133133
private function getLinkFactory()
134134
{
135135

136-
if (!($this->linkFactory)) {
136+
if (!$this->linkFactory) {
137137
$this->linkFactory = ObjectManager::getInstance()->get(
138138
'\Magento\Bundle\Api\Data\LinkInterfaceFactory'
139139
);
@@ -150,7 +150,7 @@ private function getLinkFactory()
150150
private function getProductRepository()
151151
{
152152

153-
if (!($this->productRepository)) {
153+
if (!$this->productRepository) {
154154
$this->productRepository = ObjectManager::getInstance()->get(
155155
'\Magento\Catalog\Api\ProductRepositoryInterface'
156156
);

0 commit comments

Comments
 (0)