Skip to content

Commit 69af5d4

Browse files
authored
chore(laravel): param-out for reference mutation (#7254)
1 parent 21f3988 commit 69af5d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Eloquent/PropertyAccess/PropertyAccessor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ public function __construct(
3232
}
3333

3434
/**
35-
* @param array<mixed, mixed>|object $objectOrArray
35+
* @param object|array<mixed, mixed> $objectOrArray
36+
* @param-out object|array<mixed, mixed> $objectOrArray
3637
*/
3738
public function setValue(object|array &$objectOrArray, string|PropertyPathInterface $propertyPath, mixed $value): void
3839
{

0 commit comments

Comments
 (0)