Skip to content

Commit 93481d7

Browse files
committed
bug #4120 Fix use mistakes (mbutkereit)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #4120). Discussion ---------- Fix use mistakes | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all On http://symfony.com/doc/current/components/config/resources.html at "new YamlUserLoader", we have also a missing "use" statement. But i'm not sure if we need there one. Commits ------- 7016c82 Fixing a mistake 4353d1f Fix use mistakes.
2 parents c0a0120 + 7404481 commit 93481d7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Diff for: components/console/introduction.rst

+3
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>');

Diff for: components/templating/helpers/assetshelper.rst

+2
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ Asset path generation is handled internally by packages. The component provides
7474

7575
You can also use multiple packages::
7676

77+
use Symfony\Component\Templating\Asset\PathPackage;
78+
7779
// ...
7880
$templateEngine->set(new AssetsHelper());
7981

0 commit comments

Comments
 (0)