code: public function outdent($step = 1)
      {
          // can't outdent by more steps than the current indentation level
          if ($this->indentation < $step) {
              throw new LogicException('Unable to call outdent() as the indentation would become negative.');
          }
  
          $this->indentation -= $step;
  
          return $this;
      }
docs: Outdents the generated code.
  
  @param int $step The number of indentation to remove
  
  @return $this
  
  @throws LogicException When trying to outdent too much so the indentation would become negative