Completed
Push — master ( 09b651...3aad06 )
by Stefan
06:44 queued 02:46
created
src/Entity/PackageServiceOptions.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     }
85 85
 
86 86
     /**
87
-     * @return InsuredValue|null
87
+     * @return InsuredValue
88 88
      */
89 89
     public function getInsuredValue()
90 90
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     }
93 93
 
94 94
     /**
95
-     * @param $var
95
+     * @param InsuredValue $var
96 96
      */
97 97
     public function setInsuredValue($var)
98 98
     {
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     }
101 101
 
102 102
     /**
103
-     * @return COD|null
103
+     * @return COD
104 104
      */
105 105
     public function getCOD()
106 106
     {
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     }
109 109
 
110 110
     /**
111
-     * @param $var
111
+     * @param COD $var
112 112
      */
113 113
     public function setCOD($var)
114 114
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     }
117 117
 
118 118
     /**
119
-     * @return string|null
119
+     * @return string
120 120
      */
121 121
     public function getEarliestDeliveryTime()
122 122
     {
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     }
133 133
 
134 134
     /**
135
-     * @return string|null
135
+     * @return string
136 136
      */
137 137
     public function getHazardousMaterialsCode()
138 138
     {
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
     }
149 149
 
150 150
     /**
151
-     * @return string|null
151
+     * @return string
152 152
      */
153 153
     public function getHoldForPickup()
154 154
     {
Please login to merge, or discard this patch.
src/Entity/RateInformation.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-     * @param $value
68
+     * @param boolean $value
69 69
      *
70 70
      * @return $this
71 71
      */
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     }
86 86
 
87 87
     /**
88
-     * @param $value
88
+     * @param boolean $value
89 89
      *
90 90
      * @return $this
91 91
      */
Please login to merge, or discard this patch.
src/Entity/ReferenceNumber.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     private $barCodeIndicator;
51 51
 
52 52
     /**
53
-     * @return string|null
53
+     * @return string
54 54
      */
55 55
     public function getCode()
56 56
     {
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     }
67 67
 
68 68
     /**
69
-     * @return string|null
69
+     * @return string
70 70
      */
71 71
     public function getValue()
72 72
     {
Please login to merge, or discard this patch.
src/Entity/ShipmentIndicationType.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     }
48 48
 
49 49
     /**
50
-     * @return mixed
50
+     * @return string|null
51 51
      */
52 52
     public function getCode()
53 53
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     }
64 64
 
65 65
     /**
66
-     * @return mixed
66
+     * @return string|null
67 67
      */
68 68
     public function getDescription()
69 69
     {
Please login to merge, or discard this patch.
src/Entity/ShipmentWeight.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -48,6 +48,9 @@
 block discarded – undo
48 48
         $this->weight = $weight;
49 49
     }
50 50
 
51
+    /**
52
+     * @return string|null
53
+     */
51 54
     public function getWeight()
52 55
     {
53 56
         return $this->weight;
Please login to merge, or discard this patch.
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.