X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/34e60986873ab47ef0a9e2447bddb7a5b82b0c13..refs/pull/3387/head:/app/Exceptions/JsonDebugException.php diff --git a/app/Exceptions/JsonDebugException.php b/app/Exceptions/JsonDebugException.php index e155579d6..e8d61305e 100644 --- a/app/Exceptions/JsonDebugException.php +++ b/app/Exceptions/JsonDebugException.php @@ -1,24 +1,27 @@ -data = $data; + parent::__construct(); } /** * Covert this exception into a response. */ - public function render() + public function render(): JsonResponse { return response()->json($this->data); }