@@ -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 | { |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | /** |
| 103 | - * @return array |
|
| 103 | + * @return string[] |
|
| 104 | 104 | */ |
| 105 | 105 | public static function getPossibleParcelReturnInstructionValues() |
| 106 | 106 | { |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | } |
| 168 | 168 | |
| 169 | 169 | /** |
| 170 | - * @return array |
|
| 170 | + * @return string[] |
|
| 171 | 171 | */ |
| 172 | 172 | public static function getPossibleShipmentTypeValues() |
| 173 | 173 | { |
@@ -11,21 +11,24 @@ |
||
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * @param array $options |
| 14 | + * @return void |
|
| 14 | 15 | */ |
| 15 | 16 | public function setOptions($options); |
| 16 | 17 | |
| 17 | 18 | /** |
| 18 | - * @return array |
|
| 19 | + * @return Option\Option[] |
|
| 19 | 20 | */ |
| 20 | 21 | public function getOptions(); |
| 21 | 22 | |
| 22 | 23 | /** |
| 23 | 24 | * @param \Bpost\BpostApiClient\Bpost\Order\Box\Option\Option $option |
| 25 | + * @return void |
|
| 24 | 26 | */ |
| 25 | 27 | public function addOption(Option\Option $option); |
| 26 | 28 | |
| 27 | 29 | /** |
| 28 | 30 | * @param string $product |
| 31 | + * @return void |
|
| 29 | 32 | */ |
| 30 | 33 | public function setProduct($product); |
| 31 | 34 | |
@@ -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 | { |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | private $value; |
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | - * @return array |
|
| 42 | + * @return string[] |
|
| 43 | 43 | */ |
| 44 | 44 | public static function getPossibleTypeValues() |
| 45 | 45 | { |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | /** |
| 96 | - * @return array |
|
| 96 | + * @return integer[] |
|
| 97 | 97 | */ |
| 98 | 98 | public static function getPossibleValueValues() |
| 99 | 99 | { |