chore: refacto

This commit is contained in:
Nuno Maduro
2023-04-08 12:23:10 +01:00
parent f73e6aebcb
commit 81cdb7a300
6 changed files with 10 additions and 10 deletions

View File

@ -900,7 +900,7 @@ final class Expectation
*/
private function export(mixed $value): string
{
if ($this->exporter === null) {
if (! $this->exporter instanceof \Pest\Support\Exporter) {
$this->exporter = Exporter::default();
}