Skip to content

Commit e359886

Browse files
authored
Update RelatedUsersCollection.php
1 parent 162c691 commit e359886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Collections/RelatedUsersCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function append(string $userId, string $relatedUserId): self
2121
//updating child's
2222
foreach ($this->relatedUsers as $key => $childs) {
2323
foreach ($childs as $child) {
24-
$this->handleChilds($key, $child);
24+
$this->handleChilds((string) $key, (string) $child);
2525
}
2626
}
2727

0 commit comments

Comments
 (0)