Skip to content

Commit b851b99

Browse files
committed
stack renamed to global
1 parent e7d7a9f commit b851b99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/config/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
|
128128
*/
129129

130-
'stack' => [
130+
'global' => [
131131
Illuminate\Session\Middleware\StartSession::class,
132132
Illuminate\Routing\Middleware\SubstituteBindings::class,
133133
],

core/src/Core.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2674,7 +2674,7 @@ public function parseDocumentSource($source)
26742674
public function setRouterMiddleware()
26752675
{
26762676
$middleware = array_merge(
2677-
config('app.middleware.stack', []),
2677+
config('app.middleware.global', []),
26782678
config('middleware.global', [])
26792679
);
26802680

0 commit comments

Comments
 (0)