diff --git a/tests/ExportClosureTest.php b/tests/ExportClosureTest.php index 44a5b0e..3cbe98b 100644 --- a/tests/ExportClosureTest.php +++ b/tests/ExportClosureTest.php @@ -264,16 +264,16 @@ public function testExportEnumMatchFunction(): void ]; $expected = <<<'PHP' -[ - (object) [ - 'callback' => function (\Brick\VarExporter\Tests\Classes\Enum $enum): string { - return match ($enum) { - \Brick\VarExporter\Tests\Classes\Enum::TEST => 'foo', - }; - } - ] -] -PHP; + [ + (object) [ + 'callback' => function (\Brick\VarExporter\Tests\Classes\Enum $enum): string { + return match ($enum) { + \Brick\VarExporter\Tests\Classes\Enum::TEST => 'foo', + }; + } + ] + ] + PHP; $this->assertExportEquals($expected, $var); }