Skip to content

Commit

Permalink
Accept mixed key on DsPairStub
Browse files Browse the repository at this point in the history
`Db\Map` accepts any types as key
  • Loading branch information
marc-mabe committed Nov 8, 2023
1 parent 999ede2 commit 81acabb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Caster/DsPairStub.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
class DsPairStub extends Stub
{
public function __construct(string|int $key, mixed $value)
public function __construct(mixed $key, mixed $value)
{
$this->value = [
Caster::PREFIX_VIRTUAL.'key' => $key,
Expand Down

0 comments on commit 81acabb

Please sign in to comment.