Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Please also have a look at our

### Changed

- Mark `OutputFormat::nextLevel()` as `@internal` (#901)
- Only allow `string` for some `OutputFormat` properties (#885)
- Make all non-private properties `@internal` (#886)
- Use more native type declarations and strict mode
Expand Down
3 changes: 3 additions & 0 deletions src/OutputFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,9 @@ public function indentWithSpaces(int $numberOfSpaces = 2): self
return $this->setIndentation(\str_repeat(' ', $numberOfSpaces));
}

/**
* @internal since V8.8.0
*/
public function nextLevel(): self
{
if ($this->oNextLevelFormat === null) {
Expand Down