Commit 976441d
committed
[TASK] Use DiagramRenderer interface for decorator dependency
Change DecoratingPlantumlBinaryRenderer constructor to accept
DiagramRenderer interface instead of concrete PlantumlRenderer.
This improves testability and follows dependency inversion principle.
The decorator only needs the interface contract, not the concrete
implementation.
Relates: TYPO3-Documentation#10991 parent b8a6475 commit 976441d
File tree
1 file changed
+1
-2
lines changed- packages/typo3-docs-theme/src/Renderer
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
0 commit comments