public function nextOutdent()
    {
        $oldLevel = $this->getIndentLevel();
        $expected = $this->getLevel();

        if ($expected < $oldLevel) {
            $newLevel = $this->outdent();
            if ($newLevel < $expected) {
                $this->throwException(
                    'Inconsistent indentation. '.
                    'Expecting either '.
                    $newLevel.
                    ' or '.
                    $oldLevel.
                    ' spaces/tabs.'
                );
            }

            return $newLevel;
        }

        return false;
    }
public function nextOutdent()
    {
        $oldLevel = $this->getIndentLevel();
        $expected = $this->getLevel();

        if ($expected < $oldLevel) {
            $newLevel = $this->outdent();
            if ($newLevel < $expected) {
                $this->throwException(
                    'Inconsistent indentation. '.
                    'Expecting either '.
                    $newLevel.
                    ' or '.
                    $oldLevel.
                    ' spaces/tabs.'
                );
            }

            return $newLevel;
        }

        return false;
    }
public function nextOutdent ( ) { $ oldLevel = $ this -> getIndentLevel ( ) ; $ expected = $ this -> getLevel ( ) ; if ( $ expected < $ oldLevel ) { $ newLevel = $ this -> outdent ( ) ; if ( $ newLevel < $ expected ) { $ this -> throwException ( 'Inconsistent indentation. ' . 'Expecting either ' . $ newLevel . ' or ' . $ oldLevel . ' spaces/tabs.' ) ; } return $ newLevel ; } return false ; }
Return new outdent level if current above expected,
or false if expected level reached.

@return int
Return new outdent level if current above expected or false if expected level reached .