mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 06:06:40 +02:00
Minor fixes
This commit is contained in:
@@ -65,6 +65,6 @@ class BufferHandler extends AbstractHandler
|
||||
*/
|
||||
protected function write(array $record)
|
||||
{
|
||||
throw new \BadMethodCallException('This method should not be called directly on the FingersCrossedHandler.');
|
||||
throw new \BadMethodCallException('This method should not be called directly on the BufferHandler.');
|
||||
}
|
||||
}
|
@@ -13,6 +13,9 @@ namespace Monolog;
|
||||
|
||||
class TestCase extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @return array Record
|
||||
*/
|
||||
protected function getRecord($level = Logger::WARNING, $message = 'test')
|
||||
{
|
||||
return array(
|
||||
|
Reference in New Issue
Block a user