| @@ -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) | 
| @@ -84,8 +84,8 @@ | ||
| 84 | 84 | /** | 
| 85 | 85 | * Downloads a file using current client configuration and saves it at the specified destination. | 
| 86 | 86 | * | 
| 87 | - * @param string|\GuzzleHttp\Url $uri File URI. | |
| 88 | - * @param string|resource|\GuzzleHttp\Stream\StreamInterface $destination Destination where the file should be saved to. | |
| 87 | + * @param string $uri File URI. | |
| 88 | + * @param string $destination Destination where the file should be saved to. | |
| 89 | 89 | * @return null | 
| 90 | 90 | */ | 
| 91 | 91 | public function downloadImage($uri, $destination) |