Skip to content

Commit 4353d1f

Browse files
Marvin ButkereitMarvin Butkereit
Marvin Butkereit
authored and
Marvin Butkereit
committed
Fix use mistakes.
1 parent 47c7fe2 commit 4353d1f

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
@@ -71,6 +71,8 @@ To avoid using the cached resource after updating the old resource, you can
7171
use versions which you bump every time you release a new project. The version
7272
can be specified in the third argument::
7373

74+
use Symfony\Component\Templating\Asset\PathPackage;
75+
7476
// ...
7577
$templateEngine->set(new AssetsHelper(null, null, '328rad75'));
7678

0 commit comments

Comments
 (0)