Skip to content

Conversation

AhmedAlaa4611
Copy link
Contributor

Description

This PR updates the Arr::push documentation example to reflect the actual return value. Since Arr::push always appends the given value into an array, the corrected example should use the array form.

When I run this code I get:

array:1 [
  "office" => array:1 [
    "furniture" => array:1 [
      0 => "Desk"
    ]
  ]
]

@taylorotwell taylorotwell merged commit 2b86f08 into laravel:12.x Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants