Skip to content

Commit b8af309

Browse files
authored
Use request instance
1 parent 5b75044 commit b8af309

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Controllers/OpenHandlerController.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@
44

55
use Barryvdh\Debugbar\Support\Clockwork\Converter;
66
use DebugBar\OpenHandler;
7+
use Illuminate\Http\Request;
78
use Illuminate\Http\Response;
89

910
class OpenHandlerController extends BaseController
1011
{
1112

12-
public function handle()
13+
public function handle(Request $request)
1314
{
1415
$openHandler = new OpenHandler($this->debugbar);
15-
$data = $openHandler->handle(null, false, false);
16+
$data = $openHandler->handle($request->input(), false, false);
1617

1718
return new Response(
1819
$data,

0 commit comments

Comments
 (0)