Skip to content

Commit afd6349

Browse files
committed
[TASK] Mark OutputFormatter as @internal
This is the V8.x backport of #896.
1 parent 6543eb2 commit afd6349

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1111

1212
### Changed
1313

14+
- Mark `OutputFormatter` as `@internal` (#896)
1415
- Mark `Selector::isValid()` as `@internal` (#1037)
1516
- Mark parsing-related methods of most CSS elements as `@internal` (#908)
1617
- Mark `OutputFormat::nextLevel()` as `@internal` (#901)

src/OutputFormat.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,12 +363,15 @@ public function beLenient()
363363

364364
/**
365365
* @return OutputFormatter
366+
*
367+
* @internal since 8.8.0
366368
*/
367369
public function getFormatter()
368370
{
369371
if ($this->oFormatter === null) {
370372
$this->oFormatter = new OutputFormatter($this);
371373
}
374+
372375
return $this->oFormatter;
373376
}
374377

src/OutputFormatter.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
use Sabberworm\CSS\Comment\Commentable;
66
use Sabberworm\CSS\Parsing\OutputException;
77

8+
/**
9+
* @internal since 8.8.0
10+
*/
811
class OutputFormatter
912
{
1013
/**

0 commit comments

Comments
 (0)