Fix wrong check for exporter in ConstraintTrait
This commit is contained in:
parent
4fa4ecd9b2
commit
ecb477952a
@ -45,7 +45,7 @@ trait ConstraintTraitForV7
|
|||||||
|
|
||||||
protected function exporter(): Exporter
|
protected function exporter(): Exporter
|
||||||
{
|
{
|
||||||
if (null !== $this->exporter) {
|
if (null === $this->exporter) {
|
||||||
$this->exporter = new Exporter();
|
$this->exporter = new Exporter();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user