@@ -51,7 +51,7 @@ class ConsoleHandler extends AbstractProcessingHandler implements EventSubscribe
5151 OutputInterface::VERBOSITY_VERY_VERBOSE => Logger::INFO ,
5252 OutputInterface::VERBOSITY_DEBUG => Logger::DEBUG ,
5353 ];
54- private $ consoleFormaterOptions ;
54+ private $ consoleFormatterOptions ;
5555
5656 /**
5757 * @param OutputInterface|null $output The console output to use (the handler remains disabled when passing null
@@ -60,7 +60,7 @@ class ConsoleHandler extends AbstractProcessingHandler implements EventSubscribe
6060 * @param array $verbosityLevelMap Array that maps the OutputInterface verbosity to a minimum logging
6161 * level (leave empty to use the default mapping)
6262 */
63- public function __construct (OutputInterface $ output = null , bool $ bubble = true , array $ verbosityLevelMap = [], array $ consoleFormaterOptions = [])
63+ public function __construct (OutputInterface $ output = null , bool $ bubble = true , array $ verbosityLevelMap = [], array $ consoleFormatterOptions = [])
6464 {
6565 parent ::__construct (Logger::DEBUG , $ bubble );
6666 $ this ->output = $ output ;
@@ -69,7 +69,7 @@ public function __construct(OutputInterface $output = null, bool $bubble = true,
6969 $ this ->verbosityLevelMap = $ verbosityLevelMap ;
7070 }
7171
72- $ this ->consoleFormaterOptions = $ consoleFormaterOptions ;
72+ $ this ->consoleFormatterOptions = $ consoleFormatterOptions ;
7373 }
7474
7575 /**
@@ -159,13 +159,13 @@ protected function getDefaultFormatter(): FormatterInterface
159159 return new LineFormatter ();
160160 }
161161 if (!$ this ->output ) {
162- return new ConsoleFormatter ($ this ->consoleFormaterOptions );
162+ return new ConsoleFormatter ($ this ->consoleFormatterOptions );
163163 }
164164
165165 return new ConsoleFormatter (array_replace ([
166166 'colors ' => $ this ->output ->isDecorated (),
167167 'multiline ' => OutputInterface::VERBOSITY_DEBUG <= $ this ->output ->getVerbosity (),
168- ], $ this ->consoleFormaterOptions ));
168+ ], $ this ->consoleFormatterOptions ));
169169 }
170170
171171 /**
0 commit comments