mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix rebase conflicts
This commit is contained in:
parent
cbea5006b3
commit
8854f053c8
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user