We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bd1358 commit d0da0efCopy full SHA for d0da0ef
1 file changed
Interfaces.php
@@ -152,12 +152,12 @@ interface Argument extends Data
152
* Value mutator.
153
* Sets a value for a property.
154
*
155
- * @param string $index The name of the property
+ * @param int|string $index The name of the property
156
* @param mixed $value The value
157
158
* @return static
159
*/
160
- public function set(string $index, mixed $value): static;
+ public function set(mixed $index, mixed $value): static;
161
162
/**
163
* Imports multiple values. The existing are overridden.
0 commit comments