@@ -106,7 +106,7 @@ |
||
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 | /** |
| 109 | - * @param $parameterName |
|
| 109 | + * @param string $parameterName |
|
| 110 | 110 | * @param \ReflectionMethod $method |
| 111 | 111 | * @param $data |
| 112 | 112 | * @return void |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | * |
| 11 | 11 | * @param \Iris\Transfer\Catalog\ConfigCollection $products |
| 12 | 12 | * @param string $partnerCode |
| 13 | - * @return bool|\GuzzleHttp\Message\Response |
|
| 13 | + * @return \GuzzleHttp\Message\Response |
|
| 14 | 14 | */ |
| 15 | 15 | public function createProducts(\Iris\Transfer\Catalog\ConfigCollection $products, $partnerCode) |
| 16 | 16 | { |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | * Update products on partner |
| 32 | 32 | * |
| 33 | 33 | * @param \Iris\Transfer\Catalog\ConfigCollection $products |
| 34 | - * @return bool|\GuzzleHttp\Message\Response |
|
| 34 | + * @return \GuzzleHttp\Message\Response |
|
| 35 | 35 | */ |
| 36 | 36 | public function updateProducts(\Iris\Transfer\Catalog\ConfigCollection $products) |
| 37 | 37 | { |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | * |
| 54 | 54 | * @param string $sku |
| 55 | 55 | * @param integer $quantity |
| 56 | - * @return bool |
|
| 56 | + * @return \GuzzleHttp\Message\Response |
|
| 57 | 57 | */ |
| 58 | 58 | public function updateStock($sku, $quantity) |
| 59 | 59 | { |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | * @param float $specialPrice |
| 79 | 79 | * @param string $specialFromDate |
| 80 | 80 | * @param string $specialToDate |
| 81 | - * @return bool |
|
| 81 | + * @return \GuzzleHttp\Message\Response |
|
| 82 | 82 | */ |
| 83 | 83 | public function updatePrice($sku, $price, $specialPrice, $specialFromDate, $specialToDate) |
| 84 | 84 | { |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | |
| 113 | 113 | /** |
| 114 | 114 | * @param \Iris\Transfer\Tracking\ShippedCollection $items |
| 115 | - * @return bool |
|
| 115 | + * @return \GuzzleHttp\Message\Response |
|
| 116 | 116 | */ |
| 117 | 117 | public function setStatusToShipped(\Iris\Transfer\Tracking\ShippedCollection $items) |
| 118 | 118 | { |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | |
| 161 | 161 | /** |
| 162 | 162 | * @param \Iris\Transfer\Tracking\DeliveredCollection $items |
| 163 | - * @return bool |
|
| 163 | + * @return \GuzzleHttp\Message\Response |
|
| 164 | 164 | */ |
| 165 | 165 | public function setStatusToDelivered(\Iris\Transfer\Tracking\DeliveredCollection $items) |
| 166 | 166 | { |
@@ -200,7 +200,7 @@ discard block |
||
| 200 | 200 | |
| 201 | 201 | /** |
| 202 | 202 | * @param \Iris\Transfer\Tracking\FailedDeliveryCollection $items |
| 203 | - * @return bool |
|
| 203 | + * @return \GuzzleHttp\Message\Response |
|
| 204 | 204 | */ |
| 205 | 205 | public function setStatusToFailedDelivery(\Iris\Transfer\Tracking\FailedDeliveryCollection $items) |
| 206 | 206 | { |
@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Iris\SaleWrapper; |
| 4 | 4 | |
| 5 | -use Iris\Exceptions\InvalidTransfer; |
|
| 6 | - |
|
| 7 | 5 | class Venture extends Base implements VentureInterface |
| 8 | 6 | { |
| 9 | 7 | /** |