Skip to content

Commit ecf7e08

Browse files
authored
chore(laravel): param-out for reference mutation (#7254)
1 parent 92dd70b commit ecf7e08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Laravel/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)