Skip to content

Commit 610eb6b

Browse files
committed
code fixes as mentioned by @dirkluijk
1 parent 83adc87 commit 610eb6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/console/logger.rst

+2-2
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)