@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | /** |
165 | 165 | * Convert a MS serialized datetime value from Excel to a PHP Date/Time object |
166 | 166 | * |
167 | - * @param integer|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 |
||
203 | 203 | /** |
204 | 204 | * Convert a MS serialized datetime value from Excel to a unix timestamp |
205 | 205 | * |
206 | - * @param integer|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 |
||
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|boolean Excel date/time value |
224 | 224 | * or boolean FALSE on failure |
225 | 225 | */ |
@@ -257,7 +257,7 @@ discard block |
||
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) |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | * @param int $hours |
278 | 278 | * @param int $minutes |
279 | 279 | * @param int $seconds |
280 | - * @return int Excel date/time value |
|
280 | + * @return double Excel date/time value |
|
281 | 281 | */ |
282 | 282 | public static function formattedPHPToExcel($year, $month, $day, $hours = 0, $minutes = 0, $seconds = 0) |
283 | 283 | { |