Completed
Pull Request — master (#8)
by Rafael
02:54
created
src/Iris/Api/VentureClient.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
      *
10 10
      * @param \Iris\Transfer\Catalog\ConfigCollection $products
11 11
      * @param string $partnerCode
12
-     * @return bool|\GuzzleHttp\Message\Response
12
+     * @return \GuzzleHttp\Message\Response
13 13
      */
14 14
     public function createProducts(\Iris\Transfer\Catalog\ConfigCollection $products, $partnerCode)
15 15
     {
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      * Update products on partner
31 31
      *
32 32
      * @param \Iris\Transfer\Catalog\ConfigCollection $products
33
-     * @return bool|\GuzzleHttp\Message\Response
33
+     * @return \GuzzleHttp\Message\Response
34 34
      */
35 35
     public function updateProducts(\Iris\Transfer\Catalog\ConfigCollection $products)
36 36
     {
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      *
53 53
      * @param string $sku
54 54
      * @param integer $quantity
55
-     * @return bool
55
+     * @return \GuzzleHttp\Message\Response
56 56
      */
57 57
     public function updateStock($sku, $quantity)
58 58
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      * @param float $specialPrice
78 78
      * @param string $specialFromDate
79 79
      * @param string $specialToDate
80
-     * @return bool
80
+     * @return \GuzzleHttp\Message\Response
81 81
      */
82 82
     public function updatePrice($sku, $price, $specialPrice, $specialFromDate, $specialToDate)
83 83
     {
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 
112 112
     /**
113 113
      * @param \Iris\Transfer\Tracking\ShippedCollection $items
114
-     * @return bool|\GuzzleHttp\Message\Response
114
+     * @return \GuzzleHttp\Message\Response
115 115
      */
116 116
     public function setStatusToShippedOnPartner(\Iris\Transfer\Tracking\ShippedCollection $items)
117 117
     {
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
 
160 160
     /**
161 161
      * @param \Iris\Transfer\Tracking\DeliveredCollection $items
162
-     * @return bool|\GuzzleHttp\Message\Response
162
+     * @return \GuzzleHttp\Message\Response
163 163
      */
164 164
     public function setStatusToDeliveredOnPartner(\Iris\Transfer\Tracking\DeliveredCollection $items)
165 165
     {
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
 
200 200
     /**
201 201
      * @param \Iris\Transfer\Tracking\FailedDeliveryCollection $items
202
-     * @return bool|\GuzzleHttp\Message\Response
202
+     * @return \GuzzleHttp\Message\Response
203 203
      */
204 204
     public function setStatusToFailedDeliveryOnPartner(\Iris\Transfer\Tracking\FailedDeliveryCollection $items)
205 205
     {
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
 
244 244
     /**
245 245
      * @param \Iris\Transfer\Tracking\CanceledCollection $items
246
-     * @return bool|\GuzzleHttp\Message\Response
246
+     * @return \GuzzleHttp\Message\Response
247 247
      */
248 248
     public function setStatusToCanceledOnPartner(\Iris\Transfer\Tracking\CanceledCollection $items)
249 249
     {
Please login to merge, or discard this patch.
src/Iris/SaleWrapper/Venture.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,6 @@
 block discarded – undo
78 78
      * Send order confirmation to partner
79 79
      *
80 80
      * @param \Iris\Transfer\Sales\Order $order
81
-     * @param string $partnerCode
82 81
      * @return void
83 82
      */
84 83
     public function confirmOrderOnPartner(
Please login to merge, or discard this patch.
src/Iris/Interfaces/Order.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
     /**
86 86
      * @param $orderNr
87
-     * @param $partner
87
+     * @param string $partner
88 88
      * @return string
89 89
      * @throws \Iris\Exceptions\OrderNotFound
90 90
      */
@@ -100,7 +100,6 @@  discard block
 block discarded – undo
100 100
     public function getOrderByOrderNumberAndOrderItemsAndVentureCode($orderNr, array $orderItemsId, $ventureCode);
101 101
 
102 102
     /**
103
-     * @param \Iris\Transfer\Sales\Order $order
104 103
      * @param string $ventureCode
105 104
      * @return array Returns an array as:
106 105
      *
Please login to merge, or discard this patch.
src/Iris/SaleWrapper/PartnerInterface.php 1 patch
Doc Comments   +5 added lines, -8 removed lines patch added patch discarded remove patch
@@ -8,8 +8,6 @@  discard block
 block discarded – undo
8 8
      * As a Partner I expect to receive a reserve confirmation and quantity of stock for SalesOrderItem to remove its
9 9
      * reserve.
10 10
      *
11
-     * @param array $orderItems items from the order that need to reserve
12
-     * @param array $productsData 
13 11
      * @param string $ventureCode
14 12
      * @return void
15 13
      * @throws \Iris\Exceptions\VentureNotFound
@@ -44,8 +42,8 @@  discard block
 block discarded – undo
44 42
     );
45 43
 
46 44
     /**
47
-     * @param Iris\Transfer\Sales\Order $order
48
-     * @param Iris\Transfer\Venture     $venture
45
+     * @param \Iris\Transfer\Sales\Order $order
46
+     * @param \Iris\Transfer\Venture     $venture
49 47
      * @return bool
50 48
      * @throws \Iris\Exceptions\OrderNotFound
51 49
      * @throws \Iris\Exceptions\RetryMessage
@@ -65,8 +63,8 @@  discard block
 block discarded – undo
65 63
     public function confirmOrderFromVenture(array $orderData, $ventureCode);
66 64
 
67 65
     /**
68
-     * @param Iris\Transfer\Sales\Order $order
69
-     * @param Iris\Transfer\Venture     $venture
66
+     * @param \Iris\Transfer\Sales\Order $order
67
+     * @param \Iris\Transfer\Venture     $venture
70 68
      * @return bool
71 69
      * @throws \Iris\Exceptions\OrderNotFound
72 70
      * @throws \Iris\Exceptions\RetryMessage
@@ -164,7 +162,7 @@  discard block
 block discarded – undo
164 162
     );
165 163
 
166 164
     /**
167
-     * @param Iris\Transfer\Sales\Order $order
165
+     * @param \Iris\Transfer\Sales\Order $order
168 166
      * @return bool
169 167
      */
170 168
     public function isInvalidOrder(\Iris\Transfer\Sales\Order $order);
@@ -191,7 +189,6 @@  discard block
 block discarded – undo
191 189
     /**
192 190
      * Handle images related to the products
193 191
      *
194
-     * @param Iris\Transfer\Catalog\Config $config
195 192
      * @return void
196 193
      */
197 194
     public function updateProductsFromVenture(array $productsData, $ventureCode);
Please login to merge, or discard this patch.