Completed
Push — develop ( e0a9f9...ba7054 )
by Adrien
19:36
created
src/PhpSpreadsheet/Helper/HTML.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -802,6 +802,10 @@
 block discarded – undo
802 802
         $this->buildTextRun();
803 803
     }
804 804
 
805
+    /**
806
+     * @param DOMElement $element
807
+     * @param string $callbackTag
808
+     */
805 809
     protected function handleCallback($element, $callbackTag, $callbacks)
806 810
     {
807 811
         if (isset($callbacks[$callbackTag])) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/HTML.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -222,6 +222,12 @@
 block discarded – undo
222 222
         $cellContent = (string) '';
223 223
     }
224 224
 
225
+    /**
226
+     * @param \PhpSpreadsheet\Worksheet $sheet
227
+     * @param integer $row
228
+     * @param string $column
229
+     * @param string $cellContent
230
+     */
225 231
     protected function processDomElement(DOMNode $element, $sheet, &$row, &$column, &$cellContent, $format = null)
226 232
     {
227 233
         foreach ($element->childNodes as $child) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/Date.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     /**
165 165
      * Convert a MS serialized datetime value from Excel to a PHP Date/Time object
166 166
      *
167
-     * @param     int|float                      $excelTimestamp      MS Excel serialized date/time value
167
+     * @param     integer                      $excelTimestamp      MS Excel serialized date/time value
168 168
      * @param     \DateTimeZone|string|null          $timeZone            The timezone to assume for the Excel timestamp,
169 169
      *                                                                        if you don't want to treat it as a UTC value
170 170
      *                                                                    Use the default (UST) unless you absolutely need a conversion
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     /**
204 204
      * Convert a MS serialized datetime value from Excel to a unix timestamp
205 205
      *
206
-     * @param     int|float                      $excelTimestamp        MS Excel serialized date/time value
206
+     * @param     integer                      $excelTimestamp        MS Excel serialized date/time value
207 207
      * @param     \DateTimeZone|string|null          $timeZone            The timezone to assume for the Excel timestamp,
208 208
      *                                                                        if you don't want to treat it as a UTC value
209 209
      *                                                                    Use the default (UST) unless you absolutely need a conversion
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
     /**
220 220
      *    Convert a date from PHP to an MS Excel serialized date/time value
221 221
      *
222
-     *    @param    mixed            $dateValue            Unix Timestamp or PHP DateTime object or a string
222
+     *    @param    integer            $dateValue            Unix Timestamp or PHP DateTime object or a string
223 223
      *    @return   float|bool    Excel date/time value
224 224
      *                                  or boolean FALSE on failure
225 225
      */
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
     /**
258 258
      *    Convert a Unix timestamp to an MS Excel serialized date/time value
259 259
      *
260
-     *    @param    \DateTimeInterface    $dateValue       Unix Timestamp
260
+     *    @param    integer    $dateValue       Unix Timestamp
261 261
      *    @return   float                 MS Excel serialized date/time value
262 262
      */
263 263
     public static function timestampToExcel($dateValue = 0)
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
      * @param    int    $hours
279 279
      * @param    int    $minutes
280 280
      * @param    int    $seconds
281
-     * @return   int    Excel date/time value
281
+     * @return   double    Excel date/time value
282 282
      */
283 283
     public static function formattedPHPToExcel($year, $month, $day, $hours = 0, $minutes = 0, $seconds = 0)
284 284
     {
Please login to merge, or discard this patch.