From d9a78755f18fd79377af4a568230d8e5111bd1c4 Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Fri, 30 Oct 2020 14:45:28 +0100 Subject: [PATCH] Fix wrong check for exporter in ConstraintTrait --- Legacy/ConstraintTraitForV7.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Legacy/ConstraintTraitForV7.php b/Legacy/ConstraintTraitForV7.php index 1e625e46..b132f473 100644 --- a/Legacy/ConstraintTraitForV7.php +++ b/Legacy/ConstraintTraitForV7.php @@ -45,7 +45,7 @@ protected function additionalFailureDescription($other): string protected function exporter(): Exporter { - if (null !== $this->exporter) { + if (null === $this->exporter) { $this->exporter = new Exporter(); }