From c310b2920e0278e017df821144d27fd297980a73 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 24 Oct 2017 12:19:45 +0200 Subject: [PATCH] Fix #76 incompatible prototype --- src/Writer/FingersCrossed.php | 2 +- src/Writer/MongoDB.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Writer/FingersCrossed.php b/src/Writer/FingersCrossed.php index bfc9b863..b4abd971 100644 --- a/src/Writer/FingersCrossed.php +++ b/src/Writer/FingersCrossed.php @@ -245,7 +245,7 @@ public function reset() * @param string|FormatterInterface $formatter * @return WriterInterface */ - public function setFormatter($formatter) + public function setFormatter($formatter, array $options = null) { return $this->writer; } diff --git a/src/Writer/MongoDB.php b/src/Writer/MongoDB.php index 38157674..1ef4f23f 100644 --- a/src/Writer/MongoDB.php +++ b/src/Writer/MongoDB.php @@ -104,7 +104,7 @@ public function __construct($manager, $database = null, $collection = null, $wri * @param string|FormatterInterface $formatter * @return WriterInterface */ - public function setFormatter($formatter) + public function setFormatter($formatter, array $options = null) { return $this; }