Completed
Pull Request — master (#2)
by
unknown
06:17 queued 03:34
created
src/Iris/SaleWrapper/Partner.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 {
10 10
     /**
11 11
      * Gets Venture service.
12
-     * @return Iris\Interfaces\IrisVenture
12
+     * @return \Iris\Interfaces\Service
13 13
      */
14 14
     public function getVentureService()
15 15
     {
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
     /**
20 20
      * Gets Stock service.
21
-     * @return Iris\Interfaces\Stock
21
+     * @return \Iris\Interfaces\Service
22 22
      */
23 23
     public function getStockService()
24 24
     {
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * Gets Stock service.
30
-     * @return Iris\Interfaces\Catalog
30
+     * @return \Iris\Interfaces\Service
31 31
      */
32 32
     public function getCatalogService()
33 33
     {
Please login to merge, or discard this patch.
src/Iris/SaleWrapper/PartnerInterface.php 1 patch
Doc Comments   +4 added lines, -7 removed lines patch added patch discarded remove patch
@@ -46,15 +46,14 @@  discard block
 block discarded – undo
46 46
 
47 47
     /**
48 48
      * Check if current item is from some iris venture.
49
-     * @param Iris\Transfer\Sales\Order\Item $item
49
+     * @param \Iris\Transfer\Sales\Order\Item $item
50 50
      * @return bool
51 51
      * @throws Iris\Exceptions\VentureNotFound
52 52
      */
53 53
     public function isVentureItem(\Iris\Transfer\Sales\Order\Item $item);
54 54
 
55 55
     /**
56
-     * @param Iris\Transfer\Venture     $venture
57
-     * @param Iris\Transfer\Sales\Order $order
56
+     * @param Iris\Transfer\Venture     $ventureCode
58 57
      * @return bool
59 58
      * @throws Iris\Exceptions\OrderNotFound
60 59
      * @throws Iris\Exceptions\RetryMessage
@@ -62,8 +61,7 @@  discard block
 block discarded – undo
62 61
     public function sendOrderToVenture($orderNumber, $ventureCode);
63 62
 
64 63
     /**
65
-     * @param Iris\Transfer\Venture     $venture
66
-     * @param Iris\Transfer\Sales\Order $order
64
+     * @param Iris\Transfer\Venture     $ventureCode
67 65
      * @return bool
68 66
      * @throws Iris\Exceptions\OrderNotFound
69 67
      * @throws Iris\Exceptions\RetryMessage
@@ -71,8 +69,7 @@  discard block
 block discarded – undo
71 69
     public function confirmOrderPaidOnVenture($orderNumber, $ventureCode);
72 70
 
73 71
     /**
74
-     * @param Iris\Transfer\Venture     $venture
75
-     * @param Iris\Transfer\Sales\Order $order
72
+     * @param Iris\Transfer\Venture     $ventureCode
76 73
      * @return bool
77 74
      * @throws Iris\Exceptions\OrderNotFound
78 75
      * @throws Iris\Exceptions\RetryMessage
Please login to merge, or discard this patch.
src/Iris/Api/VentureClient.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
      *
11 11
      * @param string $orderNumber
12 12
      * @param array $request
13
-     * @return bool|\GuzzleHttp\Message\Response
13
+     * @return \GuzzleHttp\Message\Response
14 14
      */
15 15
     public function shippedOrder($orderNumber, array $request)
16 16
     {
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      *
32 32
      * @param \Iris\Transfer\Catalog\ConfigCollection $products
33 33
      * @param string $partnerCode
34
-     * @return bool|\GuzzleHttp\Message\Response
34
+     * @return \GuzzleHttp\Message\Response
35 35
      */
36 36
     public function createProducts(\Iris\Transfer\Catalog\ConfigCollection $products, $partnerCode)
37 37
     {
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      * Update products on partner
53 53
      *
54 54
      * @param \Iris\Transfer\Catalog\ConfigCollection $products
55
-     * @return bool|\GuzzleHttp\Message\Response
55
+     * @return \GuzzleHttp\Message\Response
56 56
      */
57 57
     public function updateProducts(\Iris\Transfer\Catalog\ConfigCollection $products)
58 58
     {
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      *
75 75
      * @param string $sku
76 76
      * @param integer $quantity
77
-     * @return bool
77
+     * @return \GuzzleHttp\Message\Response
78 78
      */
79 79
     public function updateStock($sku, $quantity)
80 80
     {
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      * @param float $specialPrice
100 100
      * @param string $specialFromDate
101 101
      * @param string $specialToDate
102
-     * @return bool
102
+     * @return \GuzzleHttp\Message\Response
103 103
      */
104 104
     public function updatePrice($sku, $price, $specialPrice, $specialFromDate, $specialToDate)
105 105
     {
Please login to merge, or discard this patch.
src/Iris/SaleWrapper/Base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Iris/SaleWrapper/VentureInterface.php 1 patch
Doc Comments   -4 removed lines patch added patch discarded remove patch
@@ -101,7 +101,6 @@  discard block
 block discarded – undo
101 101
     /**
102 102
      * Change order itens to shipped status
103 103
      * @param \Iris\Transfer\Tracking\ReadToShip
104
-     * @param string $partnerCode
105 104
      * @return bool
106 105
      * @throws \Iris\Exceptions\RetryMessage
107 106
      */
@@ -110,7 +109,6 @@  discard block
 block discarded – undo
110 109
     /**
111 110
      * Change order itens to delivered status
112 111
      * @param \Iris\Transfer\Tracking\Delivered
113
-     * @param string $partnerCode
114 112
      * @return bool
115 113
      * @throws \Iris\Exceptions\RetryMessage
116 114
      */
@@ -119,7 +117,6 @@  discard block
 block discarded – undo
119 117
     /**
120 118
      * Change order itens to ready to canceled status
121 119
      * @param \Iris\Transfer\Tracking\ReadToShip
122
-     * @param string $partnerCode
123 120
      * @return bool
124 121
      * @throws \Iris\Exceptions\RetryMessage
125 122
      */
@@ -128,7 +125,6 @@  discard block
 block discarded – undo
128 125
     /**
129 126
      * Change order itens to failed delivery status
130 127
      * @param \Iris\Transfer\Tracking\ReadToShip
131
-     * @param string $partnerCode
132 128
      * @return bool
133 129
      * @throws \Iris\Exceptions\RetryMessage
134 130
      */
Please login to merge, or discard this patch.