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 610eb6b

Browse filesBrowse files
committed
code fixes as mentioned by @dirkluijk
1 parent 83adc87 commit 610eb6b
Copy full SHA for 610eb6b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎components/console/logger.rst

Copy file name to clipboardExpand all lines: components/console/logger.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ You can rely on the logger to use this dependency inside a command::
6262
{
6363
$logger = new ConsoleLogger($output);
6464

65-
$myDependency = MyDependency($logger);
65+
$myDependency = new MyDependency($logger);
6666
$myDependency->doStuff();
6767
}
6868
}
@@ -99,7 +99,7 @@ level. This behavior is configurable through the third parameter of the
9999
constructor::
100100

101101
// ...
102-
private $formatLevelMap = array(
102+
$formatLevelMap = array(
103103
LogLevel::CRITICAL => self::INFO,
104104
LogLevel::DEBUG => self::ERROR,
105105
);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.