Skip to content

Commit 71d12b5

Browse files
[11.x] Passes the application instance to withRouting's then callable. (#49654)
1 parent 4bd7f25 commit 71d12b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Foundation/Configuration/ApplicationBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class_exists(Folio::class)) {
176176
}
177177

178178
if (is_callable($then)) {
179-
$then();
179+
$then($this->app);
180180
}
181181
};
182182
}

0 commit comments

Comments
 (0)