public functionoutdent(int $step = 1) {
// can't outdent by more steps than the current indentation levelif ($this->indentation < $step) {
thrownew\LogicException('Unable to call outdent() as the indentation would become negative.');
}
$this->indentation -= $step;
return$this;
}