Skip to content

Commit

Permalink
fixup! Use flexible nowdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Feb 20, 2025
1 parent 5ee6205 commit da7240c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/ExportClosureTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit da7240c

Please sign in to comment.