mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-21 16:46:11 +02:00
Made the write method protected
Tests are not a good reason to make it public.
This commit is contained in:
@@ -85,7 +85,7 @@ class FingersCrossedHandler extends AbstractHandler
|
||||
/**
|
||||
* Implemented to comply with the AbstractHandler requirements. Can not be called.
|
||||
*/
|
||||
public function write(array $record)
|
||||
protected function write(array $record)
|
||||
{
|
||||
throw new \BadMethodCallException('This method should not be called directly on the FingersCrossedHandler.');
|
||||
}
|
||||
|
Reference in New Issue
Block a user