Laravel 5.6 updates
Travis config update Removed HHVM script as Laravel no longer support HHVM after releasing 5.3
This commit is contained in:
@@ -6,17 +6,10 @@ use Illuminate\Http\Response;
|
||||
|
||||
class OpenHandlerController extends BaseController
|
||||
{
|
||||
|
||||
|
||||
public function handle()
|
||||
{
|
||||
$debugbar = $this->debugbar;
|
||||
|
||||
if (!$debugbar->isEnabled()) {
|
||||
$this->app->abort('500', 'Debugbar is not enabled');
|
||||
}
|
||||
|
||||
$openHandler = new OpenHandler($debugbar);
|
||||
|
||||
$openHandler = new OpenHandler($this->debugbar);
|
||||
$data = $openHandler->handle(null, false, false);
|
||||
|
||||
return new Response(
|
||||
@@ -40,14 +33,7 @@ class OpenHandlerController extends BaseController
|
||||
'id' => $id,
|
||||
];
|
||||
|
||||
$debugbar = $this->debugbar;
|
||||
|
||||
if (!$debugbar->isEnabled()) {
|
||||
$this->app->abort('500', 'Debugbar is not enabled');
|
||||
}
|
||||
|
||||
$openHandler = new OpenHandler($debugbar);
|
||||
|
||||
$openHandler = new OpenHandler($this->debugbar);
|
||||
$data = $openHandler->handle($request, false, false);
|
||||
|
||||
// Convert to Clockwork
|
||||
|
Reference in New Issue
Block a user