Skip to content

Commit 1342ec8

Browse files
committed
Fix static analysis to JsonResponse
1 parent a1ee673 commit 1342ec8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/JsonResponse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ private function encode($data, int $options): string
8181
}
8282

8383
try {
84+
/** @psalm-suppress UnusedFunctionCall */
8485
json_encode(null);
8586
$json = json_encode($data, $options);
8687

0 commit comments

Comments
 (0)