src/BoomCMS/Database/Models/PageVersion.php
public function getNext()
    {
        return $this
            ->where(self::ATTR_PAGE, $this->getPageId())
            ->where(self::ATTR_CREATED_AT, '>', $this->getEditedTime()->getTimestamp())
            ->orderBy(self::ATTR_CREATED_AT, 'asc')
            ->first();
    }
public function getNext()
    {
        return $this
            ->where(self::ATTR_PAGE, $this->getPageId())
            ->where(self::ATTR_CREATED_AT, '>', $this->getEditedTime()->getTimestamp())
            ->orderBy(self::ATTR_CREATED_AT, 'asc')
            ->first();
    }
public function getNext ( ) { return $ this -> where ( self :: ATTR_PAGE , $ this -> getPageId ( ) ) -> where ( self :: ATTR_CREATED_AT , '>' , $ this -> getEditedTime ( ) -> getTimestamp ( ) ) -> orderBy ( self :: ATTR_CREATED_AT , 'asc' ) -> first ( ) ; }
Returns the next version.

@return PageVersion
Returns the next version .