public function getExpiration()
    {
        $dateTime = new DateTime();

        return $dateTime
            ->setDate($this->year, $this->month, $this->getMonthDays())
            ->setTime(23, 59, 59);
    }
public function getExpiration()
    {
        $dateTime = new DateTime();

        return $dateTime
            ->setDate($this->year, $this->month, $this->getMonthDays())
            ->setTime(23, 59, 59);
    }
public function getExpiration ( ) { $ dateTime = new DateTime ( ) ; return $ dateTime -> setDate ( $ this -> year , $ this -> month , $ this -> getMonthDays ( ) ) -> setTime ( 23 , 59 , 59 ) ; }
Returns expiration date

@return DateTime
Returns expiration date