Completed
Push — master ( 70a6c9...09b651 )
by Stefan
04:12
created
src/Entity/Tradeability/FreightCharges.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @return mixed
42
+     * @return string|null
43 43
      */
44 44
     public function getCurrencyCode()
45 45
     {
Please login to merge, or discard this patch.
src/Entity/Tradeability/QueryRequest.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@
 block discarded – undo
20 20
     private $suppressQuestionIndicator = false;
21 21
 
22 22
     /**
23
-     * @param null|DOMDocument $document
23
+     * @param null|\DOMDocument $document
24 24
      *
25
-     * @return DOMElement
25
+     * @return \DOMElement
26 26
      */
27 27
     public function toNode(DOMDocument $document = null)
28 28
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Ups\Entity\Tradeability;
4 4
 
5
-use DomDocument;
6
-use DomElement;
7 5
 use Ups\Entity\FreightCharges;
8 6
 use Ups\NodeInterface;
9 7
 
Please login to merge, or discard this patch.
src/Entity/Tradeability/Weight.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
     /**
58 58
      * @param int $value
59
-     * @return Quantity
59
+     * @return Weight
60 60
      */
61 61
     public function setValue($value)
62 62
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
     /**
77 77
      * @param UnitOfMeasurement $unitOfMeasurement
78
-     * @return Quantity
78
+     * @return Weight
79 79
      */
80 80
     public function setUnitOfMeasurement(UnitOfMeasurement $unitOfMeasurement)
81 81
     {
Please login to merge, or discard this patch.
src/Entity/UPSFiled.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     }
56 56
 
57 57
     /**
58
-     * @return string
58
+     * @return UPSFiled
59 59
      */
60 60
     public function setPOA(POA $poa)
61 61
     {
Please login to merge, or discard this patch.
src/QuantumView.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@
 block discarded – undo
227 227
     /**
228 228
      * Return the bookmark.
229 229
      *
230
-     * @return string|null
230
+     * @return string
231 231
      */
232 232
     public function getBookmark()
233 233
     {
Please login to merge, or discard this patch.
src/Rate.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      *
42 42
      * @throws Exception
43 43
      *
44
-     * @return RateRequest
44
+     * @return RateResponse
45 45
      */
46 46
     public function shopRates($rateRequest)
47 47
     {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      *
62 62
      * @throws Exception
63 63
      *
64
-     * @return RateRequest
64
+     * @return RateResponse
65 65
      */
66 66
     public function getRate($rateRequest)
67 67
     {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      *
85 85
      * @throws Exception
86 86
      *
87
-     * @return RateRequest
87
+     * @return RateResponse
88 88
      */
89 89
     private function sendRequest(RateRequest $rateRequest)
90 90
     {
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
      *
197 197
      * @param SimpleXMLElement $response
198 198
      *
199
-     * @return stdClass
199
+     * @return RateResponse
200 200
      */
201 201
     private function formatResponse(SimpleXMLElement $response)
202 202
     {
Please login to merge, or discard this patch.