Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Render/Helpers/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ private function setJSON( string $json, array $args ) {
} else {
throw new FlexFormException(

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest this:

throw new FlexFormException(
 'Invalid JSON Schema',
 1
);

'Invalid JSON Schema',
null,
1
1,
null
);
}

Expand Down