Passed
Pull Request — master (#1)
by Thomas
03:38
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.
src/Bpost/Order/Box/Customsinfo/CustomsInfo.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
167 167
     }
168 168
 
169 169
     /**
170
-     * @return array
170
+     * @return string[]
171 171
      */
172 172
     public static function getPossibleShipmentTypeValues()
173 173
     {
Please login to merge, or discard this patch.
src/Bpost/Order/Box/IBox.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,21 +11,24 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Bpost/Order/Box/Openinghour/Day.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/Option/SaturdayDelivery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * Return the object as an array for usage in the XML
19 19
      *
20
-     * @param  DomDocument $document
20
+     * @param  DOMDocument $document
21 21
      * @param  string      $prefix
22 22
      * @return DomElement
23 23
      */
Please login to merge, or discard this patch.