mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-28 19:14:04 +01:00
Minor fixes
This commit is contained in:
@@ -65,6 +65,6 @@ class BufferHandler extends AbstractHandler
|
|||||||
*/
|
*/
|
||||||
protected function write(array $record)
|
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
|
class TestCase extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @return array Record
|
||||||
|
*/
|
||||||
protected function getRecord($level = Logger::WARNING, $message = 'test')
|
protected function getRecord($level = Logger::WARNING, $message = 'test')
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
|
|||||||
Reference in New Issue
Block a user