Skip to content

Commit 81a6428

Browse files
Marvin Butkereitweaverryan
Marvin Butkereit
authored andcommitted
Fix use mistakes.
1 parent c0a0120 commit 81a6428

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

components/console/introduction.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ output. For example::
140140
It is possible to define your own styles using the class
141141
:class:`Symfony\\Component\\Console\\Formatter\\OutputFormatterStyle`::
142142

143+
use Symfony\Component\Console\Formatter\OutputFormatterStyle;
144+
145+
// ...
143146
$style = new OutputFormatterStyle('red', 'yellow', array('bold', 'blink'));
144147
$output->getFormatter()->setStyle('fire', $style);
145148
$output->writeln('<fire>foo</fire>');

components/templating/helpers/assetshelper.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ To avoid using the cached resource after updating the old resource, you can
5454
use versions which you bump every time you release a new project. The version
5555
can be specified in the third argument::
5656

57+
use Symfony\Component\Templating\Asset\PathPackage;
58+
5759
// ...
5860
$templateEngine->set(new AssetsHelper(null, null, '328rad75'));
5961

0 commit comments

Comments
 (0)