Completed
Branch master (629991)
by kouinkouin
04:58 queued 02:05
created
src/Bpost.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -184,10 +184,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Bpost/Order/Box.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
173 173
     }
174 174
 
175 175
     /**
176
-     * @return array
176
+     * @return string[]
177 177
      */
178 178
     public static function getPossibleStatusValues()
179 179
     {
Please login to merge, or discard this patch.
src/Bpost/Order/Box/AtBpost.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -239,6 +239,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/Bpost/Order/Box/National/ParcelLockerReducedMobilityZone.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Geo6/Poi.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
125 125
     }
126 126
 
127 127
     /**
128
-     * @param array $closedTo
128
+     * @param string $closedTo
129 129
      */
130 130
     public function setClosedTo($closedTo)
131 131
     {
Please login to merge, or discard this patch.