mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 01:31:45 +01:00
Fix "Argument 3 of Meritoo\Common\Utilities\Date::getDateDifference expects int|null, string(days) provided" bug
This commit is contained in:
@@ -349,7 +349,7 @@ class Date
|
|||||||
*
|
*
|
||||||
* @param string|DateTime $dateStart The start date
|
* @param string|DateTime $dateStart The start date
|
||||||
* @param string|DateTime $dateEnd The end date
|
* @param string|DateTime $dateEnd The end date
|
||||||
* @param int $differenceUnit (optional) Unit of date difference. One of this class
|
* @param string $differenceUnit (optional) Unit of date difference. One of this class
|
||||||
* DATE_DIFFERENCE_UNIT_* constants. If is set to null all units are
|
* DATE_DIFFERENCE_UNIT_* constants. If is set to null all units are
|
||||||
* returned in the array.
|
* returned in the array.
|
||||||
* @return array|int
|
* @return array|int
|
||||||
|
|||||||
Reference in New Issue
Block a user