Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 21f07c9

Browse files
author
Vasiliev.A
committed
fix undefined classes
1 parent 5a373c1 commit 21f07c9

File tree

3 files changed

+6
-40
lines changed

3 files changed

+6
-40
lines changed

app/code/Magento/AsynchronousOperations/Model/BulkStatus.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public function getBulkDetailedStatus($bulkUuid)
233233
{
234234
$bulkSummary = $this->bulkDetailedFactory->create();
235235

236-
/** @var \Magento\AsynchronousOperations\Api\Data\BulkStatus\DetailedInterface $bulk */
236+
/** @var \Magento\AsynchronousOperations\Api\Data\DetailedBulkStatusInterface $bulk */
237237
$bulk = $this->entityManager->load($bulkSummary, $bulkUuid);
238238

239239
if ($bulk->getBulkId() === null) {
@@ -257,7 +257,7 @@ public function getBulkShortStatus($bulkUuid)
257257
{
258258
$bulkSummary = $this->bulkShortFactory->create();
259259

260-
/** @var \Magento\AsynchronousOperations\Api\Data\BulkStatus\ShortInterface $bulk */
260+
/** @var \Magento\AsynchronousOperations\Api\Data\BulkStatusInterface $bulk */
261261
$bulk = $this->entityManager->load($bulkSummary, $bulkUuid);
262262
if ($bulk->getBulkId() === null) {
263263
throw new NoSuchEntityException(

app/code/Magento/AsynchronousOperations/Model/BulkStatus/Detailed.php

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66

77
namespace Magento\AsynchronousOperations\Model\BulkStatus;
88

9-
use Magento\AsynchronousOperations\Api\Data\BulkStatus\DetailedInterface;
10-
use Magento\AsynchronousOperations\Api\Data\OperationDetailsInterface;
9+
use Magento\AsynchronousOperations\Api\Data\DetailedBulkStatusInterface;
1110
use Magento\AsynchronousOperations\Model\BulkSummary;
1211

13-
class Detailed extends BulkSummary implements DetailedInterface
12+
class Detailed extends BulkSummary implements DetailedBulkStatusInterface
1413
{
1514
/**
1615
* @inheritDoc
@@ -27,20 +26,4 @@ public function setOperationsList($operationStatusList)
2726
{
2827
return $this->setData(self::OPERATIONS_LIST, $operationStatusList);
2928
}
30-
31-
/**
32-
* @inheritDoc
33-
*/
34-
public function getOperationsCounter()
35-
{
36-
return $this->getData(self::OPERATIONS_COUNTER);
37-
}
38-
39-
/**
40-
* @inheritDoc
41-
*/
42-
public function setOperationsCounter(OperationDetailsInterface $operationDetails)
43-
{
44-
return $this->setData(self::OPERATIONS_COUNTER, $operationDetails);
45-
}
4629
}

app/code/Magento/AsynchronousOperations/Model/BulkStatus/Short.php

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66

77
namespace Magento\AsynchronousOperations\Model\BulkStatus;
88

9-
use Magento\AsynchronousOperations\Api\Data\BulkStatus\ShortInterface;
10-
use Magento\AsynchronousOperations\Api\Data\OperationDetailsInterface;
9+
use Magento\AsynchronousOperations\Api\Data\BulkStatusInterface;
1110
use Magento\AsynchronousOperations\Model\BulkSummary;
1211

13-
class Short extends BulkSummary implements ShortInterface
12+
class Short extends BulkSummary implements BulkStatusInterface
1413
{
1514
/**
1615
* @inheritDoc
@@ -27,20 +26,4 @@ public function setOperationsList($operationStatusList)
2726
{
2827
return $this->setData(self::OPERATIONS_LIST, $operationStatusList);
2928
}
30-
31-
/**
32-
* @inheritDoc
33-
*/
34-
public function getOperationsCounter()
35-
{
36-
return $this->getData(self::OPERATIONS_COUNTER);
37-
}
38-
39-
/**
40-
* @inheritDoc
41-
*/
42-
public function setOperationsCounter(OperationDetailsInterface $operationDetails)
43-
{
44-
return $this->setData(self::OPERATIONS_COUNTER, $operationDetails);
45-
}
4629
}

0 commit comments

Comments
 (0)