File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
app/code/Magento/Analytics Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class CollectData
16
16
/**
17
17
* Resource for the handling of a new data collection.
18
18
*
19
- * @var ExportDataHandler
19
+ * @var ExportDataHandlerInterface
20
20
*/
21
21
private $ exportDataHandler ;
22
22
Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Analytics \Model ;
7
7
8
+ use Magento \Analytics \Model \ExportDataHandler ;
9
+
8
10
/**
9
11
* Class which add notification behaviour to classes that handling of a new data collection for MBI.
10
12
*/
11
13
class ExportDataHandlerNotification implements ExportDataHandlerInterface
12
14
{
13
15
/**
14
- * @var ExportDataHandlerInterface
16
+ * @var ExportDataHandler
15
17
*/
16
18
private $ exportDataHandler ;
17
19
@@ -26,7 +28,7 @@ class ExportDataHandlerNotification implements ExportDataHandlerInterface
26
28
* @param ExportDataHandlerInterface $exportDataHandler
27
29
* @param Connector $connector
28
30
*/
29
- public function __construct (ExportDataHandlerInterface $ exportDataHandler , Connector $ connector )
31
+ public function __construct (ExportDataHandler $ exportDataHandler , Connector $ connector )
30
32
{
31
33
$ this ->exportDataHandler = $ exportDataHandler ;
32
34
$ this ->analyticsConnector = $ connector ;
Original file line number Diff line number Diff line change 12
12
<preference for =" Magento\Analytics\Api\LinkProviderInterface" type =" Magento\Analytics\Model\LinkProvider" />
13
13
<preference for =" Magento\Analytics\Api\Data\LinkInterface" type =" Magento\Analytics\Model\Link" />
14
14
<preference for =" Magento\Analytics\Model\Connector\Http\ClientInterface" type =" Magento\Analytics\Model\Connector\Http\Client\Curl" />
15
- <preference for =" Magento\Analytics\Model\ExportDataHandlerInterface" type =" Magento\Analytics\Model\ExportDataHandler " />
15
+ <preference for =" Magento\Analytics\Model\ExportDataHandlerInterface" type =" Magento\Analytics\Model\ExportDataHandlerNotification " />
16
16
<type name =" Magento\Analytics\Model\Connector" >
17
17
<arguments >
18
18
<argument name =" commands" xsi : type =" array" >
You can’t perform that action at this time.
0 commit comments