Skip to content

Commit 033720e

Browse files
committed
[5.4]event helper "Illegal offset type"
1 parent 98ff41c commit 033720e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Foundation/Http/Kernel.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function handle($request)
124124
$response = $this->renderException($request, $e);
125125
}
126126

127-
event(new Events\RequestHandled($request, $response));
127+
$this->app['events']->dispatch(new Events\RequestHandled($request, $response));
128128

129129
return $response;
130130
}

0 commit comments

Comments
 (0)