Skip to content

Commit bcbdf4b

Browse files
authored
[TASK] Mark OutputFormat::nextLevel() as @internal (#901)
This method is used internally for rendering the CSS, and it is not intended to be called from outside this library.
1 parent 4322d97 commit bcbdf4b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Please also have a look at our
2121

2222
### Changed
2323

24+
- Mark `OutputFormat::nextLevel()` as `@internal` (#901)
2425
- Only allow `string` for some `OutputFormat` properties (#885)
2526
- Make all non-private properties `@internal` (#886)
2627
- Use more native type declarations and strict mode

src/OutputFormat.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,6 +780,9 @@ public function indentWithSpaces(int $numberOfSpaces = 2): self
780780
return $this->setIndentation(\str_repeat(' ', $numberOfSpaces));
781781
}
782782

783+
/**
784+
* @internal since V8.8.0
785+
*/
783786
public function nextLevel(): self
784787
{
785788
if ($this->oNextLevelFormat === null) {

0 commit comments

Comments
 (0)