X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/ccb2cb5b7cf0f4a3d21ddb87ec31ccde0d25b154..refs/pull/3365/head:/app/Exceptions/JsonDebugException.php diff --git a/app/Exceptions/JsonDebugException.php b/app/Exceptions/JsonDebugException.php index 6314533ce..e8d61305e 100644 --- a/app/Exceptions/JsonDebugException.php +++ b/app/Exceptions/JsonDebugException.php @@ -1,25 +1,28 @@ -data = $data; + parent::__construct(); } /** * Covert this exception into a response. */ - public function render() + public function render(): JsonResponse { return response()->json($this->data); } -} \ No newline at end of file +}