protected function setUntil($until)
    {
        if ($until instanceof DateTime) {
            $this->until = $until;

            return;
        }

        $this->until = (new DateTime())->modify('+'.ltrim($until, '+'));
    }
protected function setUntil($until)
    {
        if ($until instanceof DateTime) {
            $this->until = $until;

            return;
        }

        $this->until = (new DateTime())->modify('+'.ltrim($until, '+'));
    }
protected function setUntil ( $ until ) { if ( $ until instanceof DateTime ) { $ this -> until = $ until ; return ; } $ this -> until = ( new DateTime ( ) ) -> modify ( '+' . ltrim ( $ until , '+' ) ) ; }
Set inline until

@param string|DateTime $until
Set inline until