From 81b36dc43014398e1a4b8f5ba90cc4d1f5e1618e Mon Sep 17 00:00:00 2001 From: Ahmed Alaa <92916738+AhmedAlaa4611@users.noreply.github.com> Date: Sun, 25 May 2025 11:33:11 +0300 Subject: [PATCH] Refine replaceRecursive method description for consistency --- collections.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collections.md b/collections.md index bd7a951f10..949f7f76f6 100644 --- a/collections.md +++ b/collections.md @@ -2509,7 +2509,7 @@ $replaced->all(); #### `replaceRecursive()` {.collection-method} -This method works like `replace`, but it will recur into arrays and apply the same replacement process to the inner values: +The `replaceRecursive` method behaves similarly to `replace`, but it will recur into arrays and apply the same replacement process to the inner values: ```php $collection = collect([