Skip to content

Commit 6b8e66a

Browse files
author
Vasiliev.A
committed
fix undefined class, unused classes
1 parent c592ad5 commit 6b8e66a

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

app/code/Magento/AsynchronousOperations/Api/Data/BulkStatus/DetailedInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
use Magento\AsynchronousOperations\Api\Data\OperationDetailsInterface;
1010
use Magento\AsynchronousOperations\Api\Data\BulkSummaryInterface;
11-
use Magento\AsynchronousOperations\Api\Data\OperationStatus\DetailedListInterface;
1211

1312
/**
1413
* Interface BulkStatusInterface

app/code/Magento/AsynchronousOperations/Api/Data/BulkStatus/ShortInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
use Magento\AsynchronousOperations\Api\Data\OperationDetailsInterface;
1010
use Magento\AsynchronousOperations\Api\Data\BulkSummaryInterface;
11-
use Magento\AsynchronousOperations\Api\Data\OperationStatus\ShortListInterface;
1211

1312
/**
1413
* Interface BulkStatusInterface

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Magento\AsynchronousOperations\Model\BulkStatus\CalculatedStatusSql;
1515
use Magento\Framework\EntityManager\MetadataPool;
1616
use Magento\Framework\Exception\NoSuchEntityException;
17-
use Magento\Setup\Exception;
1817
use Magento\Framework\EntityManager\EntityManager;
1918
use Magento\AsynchronousOperations\Api\Data\BulkStatus\ShortInterfaceFactory as BulkStatusShortFactory;
2019
use Magento\AsynchronousOperations\Api\Data\BulkStatus\DetailedInterfaceFactory as BulkStatusDetailedFactory;

app/code/Magento/AsynchronousOperations/Model/Entity/BulkSummaryMapper.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use Magento\Framework\EntityManager\MapperInterface;
99
use Magento\Framework\App\ResourceConnection;
1010
use Magento\Framework\EntityManager\MetadataPool;
11-
use Magento\AsynchronousOperations\Api\Data\BulkSummaryInterface;
1211

1312
/**
1413
* @deprecated 100.2.0

app/code/Magento/AsynchronousOperations/Model/Operation/Status/Short.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* Class OperationShortDetails
1616
*/
17-
class Short extends DataObject implements OperationStatusInterface, ExtensibleDataInterface
17+
class Short extends DataObject implements ShortInterface, ExtensibleDataInterface
1818
{
1919
/**
2020
* @inheritDoc

app/code/Magento/AsynchronousOperations/Test/Unit/Model/BulkStatusTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ class BulkStatusTest extends \PHPUnit\Framework\TestCase
7474
*/
7575
private $entityMetadataMock;
7676

77+
/**
78+
* @var \PHPUnit_Framework_MockObject_MockObject
79+
*/
80+
private $entityManager;
81+
7782
/**
7883
* @var \PHPUnit_Framework_MockObject_MockObject
7984
*/

0 commit comments

Comments
 (0)