@@ -86,7 +86,7 @@ |
||
| 86 | 86 | * Create the TimeInTransit request. |
| 87 | 87 | * |
| 88 | 88 | * @param LocatorRequest $locatorRequest The request details. Refer to the UPS documentation for available structure |
| 89 | - * @param $requestOption |
|
| 89 | + * @param integer $requestOption |
|
| 90 | 90 | * |
| 91 | 91 | * @return string |
| 92 | 92 | */ |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | * |
| 70 | 70 | * @throws Exception |
| 71 | 71 | * |
| 72 | - * @return stdClass |
|
| 72 | + * @return \stdClass |
|
| 73 | 73 | */ |
| 74 | 74 | public function confirm( |
| 75 | 75 | $validation, |
@@ -112,14 +112,14 @@ |
||
| 112 | 112 | /** |
| 113 | 113 | * Creates and sends a request for the given data. Most errors are handled in SoapRequest |
| 114 | 114 | * |
| 115 | - * @param $request |
|
| 116 | - * @param $endpoint |
|
| 117 | - * @param $operation |
|
| 118 | - * @param $wsdl |
|
| 115 | + * @param string $request |
|
| 116 | + * @param string $endpoint |
|
| 117 | + * @param string $operation |
|
| 118 | + * @param string $wsdl |
|
| 119 | 119 | * |
| 120 | 120 | * @throws Exception |
| 121 | 121 | * |
| 122 | - * @return TimeInTransitRequest |
|
| 122 | + * @return \stdClass |
|
| 123 | 123 | */ |
| 124 | 124 | private function sendRequest($request, $endpoint, $operation, $wsdl) |
| 125 | 125 | { |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | } |
| 161 | 161 | |
| 162 | 162 | /** |
| 163 | - * @param $accessPointCOD |
|
| 163 | + * @param AccessPointCOD $accessPointCOD |
|
| 164 | 164 | * @return $this |
| 165 | 165 | */ |
| 166 | 166 | public function setAccessPointCOD($accessPointCOD) |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | } |
| 181 | 181 | |
| 182 | 182 | /** |
| 183 | - * @return mixed |
|
| 183 | + * @return InternationalForms |
|
| 184 | 184 | */ |
| 185 | 185 | public function getInternationalForms() |
| 186 | 186 | { |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | * |
| 42 | 42 | * @throws Exception |
| 43 | 43 | * |
| 44 | - * @return TimeInTransitRequest |
|
| 44 | + * @return TimeInTransitResponse |
|
| 45 | 45 | */ |
| 46 | 46 | public function getTimeInTransit(TimeInTransitRequest $shipment) |
| 47 | 47 | { |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | } |
| 159 | 159 | |
| 160 | 160 | /** |
| 161 | - * @param $access |
|
| 161 | + * @param string $access |
|
| 162 | 162 | * |
| 163 | 163 | * @return $this |
| 164 | 164 | */ |
@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | } |
| 179 | 179 | |
| 180 | 180 | /** |
| 181 | - * @param $request |
|
| 181 | + * @param string $request |
|
| 182 | 182 | * |
| 183 | 183 | * @return $this |
| 184 | 184 | */ |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | } |
| 199 | 199 | |
| 200 | 200 | /** |
| 201 | - * @param $endpointUrl |
|
| 201 | + * @param string $endpointUrl |
|
| 202 | 202 | * |
| 203 | 203 | * @return $this |
| 204 | 204 | */ |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | } |
| 219 | 219 | |
| 220 | 220 | /** |
| 221 | - * @param $body |
|
| 221 | + * @param string $body |
|
| 222 | 222 | * @return string |
| 223 | 223 | */ |
| 224 | 224 | protected function convertEncoding($body) |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use Psr\Log\LoggerInterface; |
| 10 | 10 | use Psr\Log\NullLogger; |
| 11 | 11 | use SimpleXMLElement; |
| 12 | -use Ups\Exception\InvalidResponseException; |
|
| 13 | 12 | use Ups\Exception\RequestException; |
| 14 | 13 | |
| 15 | 14 | class Request implements RequestInterface, LoggerAwareInterface |