From ecb477952a6a74ce65469f97253bf2b31041fdba 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 --- src/Symfony/Bridge/PhpUnit/Legacy/ConstraintTraitForV7.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bridge/PhpUnit/Legacy/ConstraintTraitForV7.php b/src/Symfony/Bridge/PhpUnit/Legacy/ConstraintTraitForV7.php index 1e625e463a..b132f473c5 100644 --- a/src/Symfony/Bridge/PhpUnit/Legacy/ConstraintTraitForV7.php +++ b/src/Symfony/Bridge/PhpUnit/Legacy/ConstraintTraitForV7.php @@ -45,7 +45,7 @@ trait ConstraintTraitForV7 protected function exporter(): Exporter { - if (null !== $this->exporter) { + if (null === $this->exporter) { $this->exporter = new Exporter(); }