Skip to content

Commit 31f19e6

Browse files
authored
Compatibility with Laravel Nova
Change to add compatibility with Laravel Nova. [x] Bug fix Fix: ```"Attempt to assign property 'debug' of non-object"```
1 parent 2474809 commit 31f19e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Debugger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ protected function updateResponse(Request $request, Response $response)
116116
if ($this->needToUpdateResponse($response)) {
117117
$data = $this->getResponseData($response);
118118

119-
if ($data === false) {
119+
if ($data === false || !is_object($data)) {
120120
return;
121121
}
122122

0 commit comments

Comments
 (0)