Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2015-01-12 04:44:22 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2015-01-12 04:44:22 +0300
commitff9e415fb23ae06aa68a73e2c3dcf32ff092444b (patch)
tree5aa0963d3283010a14e67107736f218765dd2005 /core/Console.php
parent636d5400a7aee9fff5b3966b06c5d4e248ce825c (diff)
Simplified get from container with new shorter method
Diffstat (limited to 'core/Console.php')
-rw-r--r--core/Console.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Console.php b/core/Console.php
index e248ed4770..de51756f39 100644
--- a/core/Console.php
+++ b/core/Console.php
@@ -156,7 +156,7 @@ class Console extends Application
private function initLoggerOutput(OutputInterface $output)
{
/** @var ConsoleHandler $consoleLogHandler */
- $consoleLogHandler = StaticContainer::getContainer()->get('Symfony\Bridge\Monolog\Handler\ConsoleHandler');
+ $consoleLogHandler = StaticContainer::get('Symfony\Bridge\Monolog\Handler\ConsoleHandler');
$consoleLogHandler->setOutput($output);
}