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(); }