We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 252b7f2 commit 8843cfcCopy full SHA for 8843cfc
src/Factory/MarkdownCliRendererFactory.php
@@ -48,6 +48,7 @@ class MarkdownCliRendererFactory
48
*/
49
public function __invoke(ContainerInterface $c): CliRenderer
50
{
51
+ /** @var Terminal $terminal */
52
$terminal = $c->get(Terminal::class);
53
54
$codeRender = new FencedCodeRenderer();
@@ -72,10 +73,13 @@ public function __invoke(ContainerInterface $c): CliRenderer
72
73
Link::class => new LinkRenderer(),
74
];
75
76
+ /** @var Color $color */
77
+ $color = $c->get(Color::class);
78
+
79
return new CliRenderer(
80
$blockRenderers,
81
$inlineBlockRenderers,
- $c->get(Color::class)
82
+ $color
83
);
84
}
85
0 commit comments