Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #351 from gigablah/loggerinterface

LoggerInterface typehint in StandardServiceContainer::setLogger
  • Loading branch information...
commit 3b6d16927af4d99eff09474573edededd6233549 2 parents a5ac8d7 + 919aedf
@willdurand willdurand authored
View
2  src/Propel/Runtime/ServiceContainer/StandardServiceContainer.php
@@ -441,7 +441,7 @@ public function getLogger($name = 'defaultLogger')
* @param string $name the name of the logger to be set
* @param LoggerInterface $logger A logger instance
*/
- public function setLogger($name, Logger $logger)
+ public function setLogger($name, LoggerInterface $logger)
{
$this->loggers[$name] = $logger;
}
Please sign in to comment.
Something went wrong with that request. Please try again.