Skip to content

Commit 9b57c0e

Browse files
committed
- loose type for Argument::set() $index argument
1 parent 71b8adb commit 9b57c0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ExtendedArguments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function get(string $index, mixed $default = null): mixed
3535
return $this->find($index, $default);
3636
}
3737

38-
public function set(string $index, mixed $value): static
38+
public function set(mixed $index, mixed $value): static
3939
{
4040
$storage = &$this->storage;
4141
foreach (explode('.', $index) as $i) {

0 commit comments

Comments
 (0)