diff options
Diffstat (limited to '79.patch')
-rw-r--r-- | 79.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/79.patch b/79.patch new file mode 100644 index 0000000..aba4b16 --- /dev/null +++ b/79.patch @@ -0,0 +1,36 @@ +From c310b2920e0278e017df821144d27fd297980a73 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +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; + } |