File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/BundleSampleData/Model Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ protected function prepareProduct($product, $data)
116
116
private function getOptionFactory ()
117
117
{
118
118
119
- if (!( $ this ->optionFactory ) ) {
119
+ if (!$ this ->optionFactory ) {
120
120
$ this ->optionFactory = ObjectManager::getInstance ()->get (
121
121
'\Magento\Bundle\Api\Data\OptionInterfaceFactory '
122
122
);
@@ -133,7 +133,7 @@ private function getOptionFactory()
133
133
private function getLinkFactory ()
134
134
{
135
135
136
- if (!( $ this ->linkFactory ) ) {
136
+ if (!$ this ->linkFactory ) {
137
137
$ this ->linkFactory = ObjectManager::getInstance ()->get (
138
138
'\Magento\Bundle\Api\Data\LinkInterfaceFactory '
139
139
);
@@ -150,7 +150,7 @@ private function getLinkFactory()
150
150
private function getProductRepository ()
151
151
{
152
152
153
- if (!( $ this ->productRepository ) ) {
153
+ if (!$ this ->productRepository ) {
154
154
$ this ->productRepository = ObjectManager::getInstance ()->get (
155
155
'\Magento\Catalog\Api\ProductRepositoryInterface '
156
156
);
You can’t perform that action at this time.
0 commit comments