Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[ObjectMapper] embed collection transformer #60442

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: 7.4
Choose a base branch
Loading
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/Symfony/Component/ObjectMapper/Tests/ObjectMapperTest.php
Co-authored-by: Jérôme Tamarelle <jerome@tamarelle.net>
  • Loading branch information
soyuka and GromNaN authored May 19, 2025
commit c4c7b377c86db2233d0ab9e0006614b44ed595b4
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,6 @@ public function testTransformCollection()

$transformed = $mapper->map($u, TransformCollectionB::class);

$this->assertEquals($transformed->foo, [new TransformCollectionD('a'), new TransformCollectionD('b')]);
$this->assertEquals([new TransformCollectionD('a'), new TransformCollectionD('b')], $transformed->foo);
}
}
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.