src/Carbon/CarbonPeriod.php
protected function updateInternalState()
    {
        if (!$this->hasFilter(static::END_DATE_FILTER)) {
            $this->endDate = null;
        }

        if (!$this->hasFilter(static::RECURRENCES_FILTER)) {
            $this->recurrences = null;
        }
    }
protected function updateInternalState()
    {
        if (!$this->hasFilter(static::END_DATE_FILTER)) {
            $this->endDate = null;
        }

        if (!$this->hasFilter(static::RECURRENCES_FILTER)) {
            $this->recurrences = null;
        }
    }
protected function updateInternalState ( ) { if ( ! $ this -> hasFilter ( static :: END_DATE_FILTER ) ) { $ this -> endDate = null ; } if ( ! $ this -> hasFilter ( static :: RECURRENCES_FILTER ) ) { $ this -> recurrences = null ; } }
Update properties after removing built-in filters.

@return void
Update properties after removing built - in filters .