Skip to content

Commit 82bb4d7

Browse files
committed
Fix missing exporter in PHPUnit constraint poylfill
1 parent 91eb107 commit 82bb4d7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Legacy/ConstraintTraitForV6.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ protected function additionalFailureDescription($other)
4949
*/
5050
protected function exporter()
5151
{
52+
if (null === $this->exporter) {
53+
$this->exporter = new Exporter();
54+
}
55+
5256
return $this->exporter;
5357
}
5458

0 commit comments

Comments
 (0)