@@ -278,9 +278,9 @@ public static function TIMEVALUE($timeValue)
278
278
* or a standard date string
279
279
* @param mixed $endDate Excel date serial value, PHP date/time stamp, PHP DateTime object
280
280
* or a standard date string
281
- * @param string $unit
281
+ * @param array| string $unit
282
282
*
283
- * @return int|string Interval between the dates
283
+ * @return array| int|string Interval between the dates
284
284
*/
285
285
public static function DATEDIF ($ startDate = 0 , $ endDate = 0 , $ unit = 'D ' )
286
286
{
@@ -300,12 +300,12 @@ public static function DATEDIF($startDate = 0, $endDate = 0, $unit = 'D')
300
300
* @See DateTimeExcel\Days::between()
301
301
* Use the between method in the DateTimeExcel\Days class instead
302
302
*
303
- * @param DateTimeInterface|float|int|string $endDate Excel date serial value (float),
303
+ * @param array| DateTimeInterface|float|int|string $endDate Excel date serial value (float),
304
304
* PHP date timestamp (integer), PHP DateTime object, or a standard date string
305
- * @param DateTimeInterface|float|int|string $startDate Excel date serial value (float),
305
+ * @param array| DateTimeInterface|float|int|string $startDate Excel date serial value (float),
306
306
* PHP date timestamp (integer), PHP DateTime object, or a standard date string
307
307
*
308
- * @return int|string Number of days between start date and end date or an error
308
+ * @return array| int|string Number of days between start date and end date or an error
309
309
*/
310
310
public static function DAYS ($ endDate = 0 , $ startDate = 0 )
311
311
{
@@ -331,7 +331,7 @@ public static function DAYS($endDate = 0, $startDate = 0)
331
331
* PHP DateTime object, or a standard date string
332
332
* @param mixed $endDate Excel date serial value (float), PHP date timestamp (integer),
333
333
* PHP DateTime object, or a standard date string
334
- * @param bool $method US or European Method
334
+ * @param array| bool $method US or European Method
335
335
* FALSE or omitted: U.S. (NASD) method. If the starting date is
336
336
* the last day of a month, it becomes equal to the 30th of the
337
337
* same month. If the ending date is the last day of a month and
@@ -343,7 +343,7 @@ public static function DAYS($endDate = 0, $startDate = 0)
343
343
* occur on the 31st of a month become equal to the 30th of the
344
344
* same month.
345
345
*
346
- * @return int|string Number of days between start date and end date
346
+ * @return array| int|string Number of days between start date and end date
347
347
*/
348
348
public static function DAYS360 ($ startDate = 0 , $ endDate = 0 , $ method = false )
349
349
{
0 commit comments