Skip to content

Commit 956d94c

Browse files
committed
minor #9136 Fixed typos in monolog_console (uestla)
This PR was merged into the 4.0 branch. Discussion ---------- Fixed typos in monolog_console - added missing `use` statement for `Command` class - fixed constructor method Commits ------- adc4df5 Fixed typos in monolog_console
2 parents 2a57136 + adc4df5 commit 956d94c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

logging/monolog_console.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ current log level and the console verbosity.
3535
The example above could then be rewritten as::
3636

3737
use Psr\Log\LoggerInterface;
38+
use Symfony\Component\Console\Command\Command;
3839
use Symfony\Component\Console\Input\InputInterface;
3940
use Symfony\Component\Console\Output\OutputInterface;
4041
// ...
@@ -43,7 +44,7 @@ The example above could then be rewritten as::
4344
{
4445
private $logger;
4546

46-
public function __constructor(LoggerInterface $logger)
47+
public function __construct(LoggerInterface $logger)
4748
{
4849
$this->logger = $logger;
4950
}

0 commit comments

Comments
 (0)