@@ -184,10 +184,10 @@ discard block |
||
| 184 | 184 | * |
| 185 | 185 | * @param string $url The URL to call. |
| 186 | 186 | * @param string $body The data to pass. |
| 187 | - * @param array $headers The headers to pass. |
|
| 187 | + * @param string[] $headers The headers to pass. |
|
| 188 | 188 | * @param string $method The HTTP-method to use. |
| 189 | 189 | * @param bool $expectXML Do we expect XML? |
| 190 | - * @return mixed |
|
| 190 | + * @return \SimpleXMLElement |
|
| 191 | 191 | * @throws BpostCurlException |
| 192 | 192 | * @throws BpostInvalidResponseException |
| 193 | 193 | * @throws BpostInvalidSelectionException |
@@ -509,7 +509,7 @@ discard block |
||
| 509 | 509 | /** |
| 510 | 510 | * Get the possible label formats |
| 511 | 511 | * |
| 512 | - * @return array |
|
| 512 | + * @return string[] |
|
| 513 | 513 | */ |
| 514 | 514 | public static function getPossibleLabelFormatValues() |
| 515 | 515 | { |
@@ -173,7 +173,7 @@ |
||
| 173 | 173 | } |
| 174 | 174 | |
| 175 | 175 | /** |
| 176 | - * @return array |
|
| 176 | + * @return string[] |
|
| 177 | 177 | */ |
| 178 | 178 | public static function getPossibleStatusValues() |
| 179 | 179 | { |
@@ -239,6 +239,9 @@ |
||
| 239 | 239 | } |
| 240 | 240 | } |
| 241 | 241 | |
| 242 | + /** |
|
| 243 | + * @param string|null $prefix |
|
| 244 | + */ |
|
| 242 | 245 | private function addToXmlShopHandlingInstruction(\DOMDocument $document, \DOMElement $typeElement, $prefix) |
| 243 | 246 | { |
| 244 | 247 | if ($this->getShopHandlingInstruction() !== null) { |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * @todo Implement it, because today, nothing is specified |
| 26 | 26 | * @param \SimpleXMLElement $xml |
| 27 | - * @return ParcelLockerReducedMobilityZone|\Bpost\BpostApiClient\IComplexAttribute |
|
| 27 | + * @return ParcelLockerReducedMobilityZone |
|
| 28 | 28 | */ |
| 29 | 29 | static function createFromXml(\SimpleXMLElement $xml) |
| 30 | 30 | { |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | /** |
| 112 | - * @param array $closedFrom |
|
| 112 | + * @param string $closedFrom |
|
| 113 | 113 | */ |
| 114 | 114 | public function setClosedFrom($closedFrom) |
| 115 | 115 | { |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | /** |
| 128 | - * @param array $closedTo |
|
| 128 | + * @param string $closedTo |
|
| 129 | 129 | */ |
| 130 | 130 | public function setClosedTo($closedTo) |
| 131 | 131 | { |