Skip to content

Commit 408cdb7

Browse files
committed
magento/adobe-stock-integration#1504:Extract logic from controller to a model to enable before plugin interception of parameters - Fix static test
1 parent e228d76 commit 408cdb7

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images

1 file changed

+1
-1
lines changed

app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/OnInsert.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct(
3333
$this->resultRawFactory = $resultRawFactory;
3434
parent::__construct($context, $coreRegistry);
3535
$this->getInsertImageContent = $getInsertImageContent ?: $this->_objectManager
36-
->get('Magento\Cms\Model\Wysiwyg\Images\GetInsertImageContent');
36+
->get(\Magento\Cms\Model\Wysiwyg\Images\GetInsertImageContent::class);
3737
}
3838

3939
/**

0 commit comments

Comments
 (0)