Docblock fixes from long to integer

This commit is contained in:
MarkBaker 2015-05-24 12:43:08 +01:00
parent e4d29824a6
commit 5f73ef34d3

View File

@ -106,11 +106,11 @@ class PHPExcel_Shared_Date
/** /**
* Convert a date from Excel to PHP * Convert a date from Excel to PHP
* *
* @param long $dateValue Excel date/time value * @param integer $dateValue Excel date/time value
* @param boolean $adjustToTimezone Flag indicating whether $dateValue should be treated as * @param boolean $adjustToTimezone Flag indicating whether $dateValue should be treated as
* a UST timestamp, or adjusted to UST * a UST timestamp, or adjusted to UST
* @param string $timezone The timezone for finding the adjustment from UST * @param string $timezone The timezone for finding the adjustment from UST
* @return long PHP serialized date/time * @return integer PHP serialized date/time
*/ */
public static function ExcelToPHP($dateValue = 0, $adjustToTimezone = false, $timezone = null) public static function ExcelToPHP($dateValue = 0, $adjustToTimezone = false, $timezone = null)
{ {
@ -197,13 +197,13 @@ class PHPExcel_Shared_Date
/** /**
* FormattedPHPToExcel * FormattedPHPToExcel
* *
* @param long $year * @param integer $year
* @param long $month * @param integer $month
* @param long $day * @param integer $day
* @param long $hours * @param integer $hours
* @param long $minutes * @param integer $minutes
* @param long $seconds * @param integer $seconds
* @return long Excel date/time value * @return integer Excel date/time value
*/ */
public static function FormattedPHPToExcel($year, $month, $day, $hours = 0, $minutes = 0, $seconds = 0) public static function FormattedPHPToExcel($year, $month, $day, $hours = 0, $minutes = 0, $seconds = 0)
{ {