Skip to content

Commit 81acabb

Browse files
committed
Accept mixed key on DsPairStub
`Db\Map` accepts any types as key
1 parent 999ede2 commit 81acabb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)