Skip to content

Commit

Permalink
refactor: Add ArrowFunction return type #1183
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Jan 1, 2025
1 parent dd1eda6 commit 78bf411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Serializer/CallbackSerializerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ final class CallbackSerializerTest extends TestCase
public function testSerializer(): void
{
$serializer = new CallbackSerializer(
static fn (mixed $payload) => $payload,
static fn (mixed $payload) => $payload
static fn (mixed $payload): mixed => $payload,
static fn (mixed $payload): mixed => $payload
);

$this->assertSame('serialize', $serializer->serialize('serialize'));
Expand Down

0 comments on commit 78bf411

Please sign in to comment.