Skip to content

Commit 3922e80

Browse files
bug #52496 [VarDumper] Accept mixed key on DsPairStub (marc-mabe)
This PR was merged into the 6.3 branch. Discussion ---------- [VarDumper] Accept mixed key on `DsPairStub` | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #52495 | License | MIT `Db\Map` accepts any types as key Commits ------- 8fed2d9 Accept mixed key on DsPairStub
2 parents e84257a + 8fed2d9 commit 3922e80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/VarDumper/Caster/DsPairStub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
class DsPairStub extends Stub
2020
{
21-
public function __construct(string|int $key, mixed $value)
21+
public function __construct(mixed $key, mixed $value)
2222
{
2323
$this->value = [
2424
Caster::PREFIX_VIRTUAL.'key' => $key,

0 commit comments

Comments
 (0)