src/LocalDateTime.php
public function plusDays(int $days) : LocalDateTime
    {
        if ($days === 0) {
            return $this;
        }

        return new LocalDateTime($this->date->plusDays($days), $this->time);
    }
public function plusDays(int $days) : LocalDateTime
    {
        if ($days === 0) {
            return $this;
        }

        return new LocalDateTime($this->date->plusDays($days), $this->time);
    }
public function plusDays ( int $ days ) : LocalDateTime { if ( $ days === 0 ) { return $ this ; } return new LocalDateTime ( $ this -> date -> plusDays ( $ days ) , $ this -> time ) ; }
Returns a copy of this LocalDateTime with the specified period in days added.

@param int $days

@return LocalDateTime
Returns a copy of this LocalDateTime with the specified period in days added .