Skip to content

Commit eac0713

Browse files
Remove outdated upgrade note from Laravel 12 docs (#10434)
1 parent c5f1f47 commit eac0713

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

‎helpers.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3103,19 +3103,6 @@ defer(fn () => Metrics::report(), 'reportMetrics');
31033103
defer()->forget('reportMetrics');
31043104
```
31053105

3106-
<a name="deferred-function-compatibility"></a>
3107-
#### Deferred Function Compatibility
3108-
3109-
If you upgraded to Laravel 11.x from a Laravel 10.x application and your application's skeleton still contains an `app/Http/Kernel.php` file, you should add the `InvokeDeferredCallbacks` middleware to the beginning of the kernel's `$middleware` property:
3110-
3111-
```php
3112-
protected $middleware = [
3113-
\Illuminate\Foundation\Http\Middleware\InvokeDeferredCallbacks::class, // [tl! add]
3114-
\App\Http\Middleware\TrustProxies::class,
3115-
// ...
3116-
];
3117-
```
3118-
31193106
<a name="disabling-deferred-functions-in-tests"></a>
31203107
#### Disabling Deferred Functions in Tests
31213108

0 commit comments

Comments
 (0)