Skip to content

Commit ea4fb18

Browse files
[11.x] Adds Dumpable changes to upgrade guide (#8797)
* Adds `Dumpable` changes to upgrade guide * Update upgrade.md --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent 114e722 commit ea4fb18

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

upgrade.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@
1212

1313
</div>
1414

15+
<a name="low-impact-changes"></a>
16+
## Low Impact Changes
17+
18+
<div class="content-list" markdown="1">
19+
20+
- [The `Enumerable` Contract](#the-enumerable-contract)
21+
22+
</div>
23+
1524
<a name="upgrade-11.0"></a>
1625
## Upgrading To 11.0 From 10.x
1726

@@ -39,3 +48,17 @@ You should update the following dependencies in your application's `composer.jso
3948
- `laravel/framework` to `^11.0`
4049

4150
</div>
51+
52+
<a name="collections"></a>
53+
### Collections
54+
55+
<a name="the-enumerable-contract"></a>
56+
#### The `Enumerable` Contract
57+
58+
**Likelihood Of Impact: Low**
59+
60+
The `dump` method of the `Illuminate\Support\Enumerable` contract has been updated to accept a variadic `...$args` argument. If you are implementing this interface you should update your implementation accordingly:
61+
62+
```php
63+
public function dump(...$args);
64+
```

0 commit comments

Comments
 (0)