From 38b2f34527b7bc0c04b447965e4b84d8678d44a5 Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Mon, 16 Nov 2015 15:33:30 +0000 Subject: [PATCH] Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- app/bootstrap.php | 2 +- src/Aviat/Ion/Di/ContainerInterface.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/bootstrap.php b/app/bootstrap.php index d993ec39..096c35e5 100644 --- a/app/bootstrap.php +++ b/app/bootstrap.php @@ -27,7 +27,7 @@ return function(array $config_array = []) { // ------------------------------------------------------------------------- $app_logger = new Logger('animeclient'); - $app_logger->pushHandler(new RotatingFileHandler(__DIR__.'/logs/app.log', Logger::NOTICE)); + $app_logger->pushHandler(new RotatingFileHandler(__DIR__ . '/logs/app.log', Logger::NOTICE)); $app_logger->pushHandler(new BrowserConsoleHandler(Logger::DEBUG)); $container->setLogger($app_logger); diff --git a/src/Aviat/Ion/Di/ContainerInterface.php b/src/Aviat/Ion/Di/ContainerInterface.php index 364470bf..b6b2270e 100644 --- a/src/Aviat/Ion/Di/ContainerInterface.php +++ b/src/Aviat/Ion/Di/ContainerInterface.php @@ -23,6 +23,7 @@ interface ContainerInterface extends \Interop\Container\ContainerInterface { * * @param LoggerInterface $logger * @param string $key The logger 'channel' + * @return Container */ public function setLogger(LoggerInterface $logger, $key = 'default');