@@ -12,7 +12,6 @@ |
||
12 | 12 | use Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface; |
13 | 13 | use Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory as AttributeSetCollectionFactory; |
14 | 14 | use Magento\Framework\App\Request\Http; |
15 | -use Magento\Framework\Controller\Result\JsonFactory; |
|
16 | 15 | use Magento\Framework\Controller\ResultFactory; |
17 | 16 | |
18 | 17 | /** |
@@ -252,6 +252,10 @@ |
||
252 | 252 | ); |
253 | 253 | } |
254 | 254 | |
255 | + /** |
|
256 | + * @param integer $productId |
|
257 | + * @param string $ean |
|
258 | + */ |
|
255 | 259 | protected function configureStockbaseEan($productId, $ean) |
256 | 260 | { |
257 | 261 | $this->stockRegistry->method('getStockItem')->with($productId)->willReturn($this->stockItem); |
@@ -4,7 +4,6 @@ |
||
4 | 4 | namespace Stockbase\Integration\Test\Unit\StockbaseApi\Client; |
5 | 5 | |
6 | 6 | use DivideBV\PHPDivideIQ\DivideIQ; |
7 | -use Magento\Sales\Api\Data\OrderInterface; |
|
8 | 7 | use PHPUnit\Framework\TestCase; |
9 | 8 | use Stockbase\Integration\Model\Config\StockbaseConfiguration; |
10 | 9 | use Stockbase\Integration\StockbaseApi\Client\StockbaseClient; |
@@ -176,7 +176,7 @@ |
||
176 | 176 | /** |
177 | 177 | * Gets stock reserve entries for given products. |
178 | 178 | * |
179 | - * @param int|int[] $productIds |
|
179 | + * @param integer $productIds |
|
180 | 180 | * @return StockItemReserve[] |
181 | 181 | */ |
182 | 182 | public function getReserveForProduct($productIds) |