Please sign in to comment.
bug #31438 [Serializer] Fix denormalization of object with variadic c…
…onstructor typed argument (ajgarlag) This PR was squashed before being merged into the 3.4 branch (closes #31438). Discussion ---------- [Serializer] Fix denormalization of object with variadic constructor typed argument | Q | A | ------------- | --- | Branch? | 3.4 up to 4.2 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #31436 | License | MIT This PR adds a test to demonstrate the bug, and a fix to squash it. Commits ------- c8c3c56 [Serializer] Fix denormalization of object with variadic constructor typed argument
- Loading branch information...
Showing with 55 additions and 1 deletion.
|@@ -0,0 +1,27 @@|
|* This file is part of the Symfony package.|
|* (c) Fabien Potencier <firstname.lastname@example.org>|
|* For the full copyright and license information, please view the LICENSE|
|* file that was distributed with this source code.|
|public function __construct(Dummy ...$foo)|
|$this->foo = $foo;|
|public function getFoo()|