Skip to content

Commit 0a56086

Browse files
authored
Merge pull request swooletw#45 from swooletw/develop
fix request in sandbox
2 parents bb56469 + 24f9cc2 commit 0a56086

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Server/Sandbox.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ protected function rebindRouterContainer($application)
164164
{
165165
if ($this->isFramework('laravel')) {
166166
$router = $application->make('router');
167+
$request = $this->request;
167168
$closure = function () use ($application, $request) {
168169
$this->container = $application;
169170
if (is_null($request)) {

0 commit comments

Comments
 (0)