@@ -71,9 +71,9 @@ discard block |
||
71 | 71 | private $tariffCodeAlert; |
72 | 72 | |
73 | 73 | /** |
74 | - * @param null|DOMDocument $document |
|
74 | + * @param null|\DOMDocument $document |
|
75 | 75 | * |
76 | - * @return DOMElement |
|
76 | + * @return \DOMElement |
|
77 | 77 | */ |
78 | 78 | public function toNode(DOMDocument $document = null) |
79 | 79 | { |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | } |
304 | 304 | |
305 | 305 | /** |
306 | - * @return mixed |
|
306 | + * @return string|null |
|
307 | 307 | */ |
308 | 308 | public function getTransactionReferenceId() |
309 | 309 | { |
@@ -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 | { |
@@ -70,7 +70,7 @@ |
||
70 | 70 | if (isset($xmlDoc->AddressLine)) { |
71 | 71 | for ($i = 0, $len = count($xmlDoc->AddressLine); $i < $len; $i++) { |
72 | 72 | $var = 'addressLine' . ($i > 0 ? $i + 1 : ''); |
73 | - $this->{$var} = isset($xmlDoc->AddressLine[$i]) ? (string) $xmlDoc->AddressLine[$i] : ''; |
|
73 | + $this->{$var} = isset($xmlDoc->AddressLine[$i]) ? (string)$xmlDoc->AddressLine[$i] : ''; |
|
74 | 74 | } |
75 | 75 | } |
76 | 76 | $this->region = isset($xmlDoc->Region) ? (string)$xmlDoc->Region : ''; |