Skip to content

Commit

Permalink
Use request instance
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh authored Apr 6, 2021
1 parent 5b75044 commit b8af309
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Controllers/OpenHandlerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@

use Barryvdh\Debugbar\Support\Clockwork\Converter;
use DebugBar\OpenHandler;
use Illuminate\Http\Request;
use Illuminate\Http\Response;

class OpenHandlerController extends BaseController
{

public function handle()
public function handle(Request $request)
{
$openHandler = new OpenHandler($this->debugbar);
$data = $openHandler->handle(null, false, false);
$data = $openHandler->handle($request->input(), false, false);

return new Response(
$data,
Expand Down

0 comments on commit b8af309

Please sign in to comment.