bug #38895 [PhpUnitBridge] Fix wrong check for exporter in ConstraintTrait (alcaeus)
This PR was merged into the 4.4 branch.
Discussion
----------
[PhpUnitBridge] Fix wrong check for exporter in ConstraintTrait
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| License | MIT
I'll just go hide in the corner after messing up this check. 🤦♂️
Commits
-------
ecb477952a
Fix wrong check for exporter in ConstraintTrait
This commit is contained in:
commit
9eeac8d09c
@ -45,7 +45,7 @@ trait ConstraintTraitForV7
|
||||
|
||||
protected function exporter(): Exporter
|
||||
{
|
||||
if (null !== $this->exporter) {
|
||||
if (null === $this->exporter) {
|
||||
$this->exporter = new Exporter();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user