File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Catalog/Helper Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
namespace Magento \Catalog \Helper ;
7
7
8
8
use Magento \Framework \App \Helper \AbstractHelper ;
9
- use Magento \Framework \App \ObjectManager ;
10
9
11
10
/**
12
11
* Catalog image helper
@@ -150,8 +149,9 @@ public function __construct(
150
149
parent ::__construct ($ context );
151
150
$ this ->_assetRepo = $ assetRepo ;
152
151
$ this ->viewConfig = $ viewConfig ;
153
- $ this ->viewAssetPlaceholderFactory = $ placeholderFactory ?:
154
- ObjectManager::getInstance ()->get (\Magento \Catalog \Model \View \Asset \PlaceholderFactory::class);
152
+ $ this ->viewAssetPlaceholderFactory = $ placeholderFactory
153
+ ?: \Magento \Framework \App \ObjectManager::getInstance ()
154
+ ->get (\Magento \Catalog \Model \View \Asset \PlaceholderFactory::class);
155
155
}
156
156
157
157
/**
You can’t perform that action at this time.
0 commit comments