Fix rebase conflicts

This commit is contained in:
Robbie Averill 2018-11-13 11:09:33 +02:00
parent cbea5006b3
commit 8854f053c8
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ class MonologErrorHandler implements ErrorHandler
*/ */
public function setLogger(LoggerInterface $logger) public function setLogger(LoggerInterface $logger)
{ {
$this->logger = $logger; $this->loggers = [$logger];
return $this; return $this;
} }

View File

@ -10,7 +10,7 @@ class MonologErrorHandlerTest extends SapphireTest
{ {
/** /**
* @expectedException \InvalidArgumentException * @expectedException \InvalidArgumentException
* @expectedExceptionMessageRegExp /No Logger property passed to MonologErrorHandler/ * @expectedExceptionMessageRegExp /No Logger properties passed to MonologErrorHandler/
*/ */
public function testStartThrowsExceptionWithoutLoggerDefined() public function testStartThrowsExceptionWithoutLoggerDefined()
{ {