Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 93481d7

Browse filesBrowse 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
Copy full SHA for 93481d7

File tree

Expand file treeCollapse file tree

2 files changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-0
lines changed

‎components/console/introduction.rst

Copy file name to clipboardExpand all lines: components/console/introduction.rst
+3Lines 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

Copy file name to clipboardExpand all lines: components/templating/helpers/assetshelper.rst
+2Lines changed: 2 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.