/**
* Function to find the membership status based on start date, end date, join date & status date.
*
- * @param date $startDate start date of the member whose membership status is to be calculated.
- * @param date $endDate end date of the member whose membership status is to be calculated.
- * @param date $joinDate join date of the member whose membership status is to be calculated.
- * @param date $statusDate status date of the member whose membership status is to be calculated.
+ * @param date $startDate start date of the member whose membership status is to be calculated.
+ * @param date $endDate end date of the member whose membership status is to be calculated.
+ * @param date $joinDate join date of the member whose membership status is to be calculated.
+ * @param \date|string $statusDate status date of the member whose membership status is to be calculated.
* @param boolean $excludeIsAdmin exclude the statuses those having is_admin = 1
- * @param integer $membershipType membership type id - passed to the hook
+ * @param $membershipTypeID
* @param array $membership membership params as available to calling function - passed to the hook
*
- * @return
- * @static
+ * @internal param int $membershipType membership type id - passed to the hook
+ * @return array
+ @static
*/
static function getMembershipStatusByDate($startDate, $endDate, $joinDate,
$statusDate = 'today', $excludeIsAdmin = FALSE, $membershipTypeID, $membership = array()