Skip to content

Update Json.php#73

Open
D-Groenewegen wants to merge 2 commits intoOpen-CSP:mainfrom
D-Groenewegen:patch-1
Open

Update Json.php#73
D-Groenewegen wants to merge 2 commits intoOpen-CSP:mainfrom
D-Groenewegen:patch-1

Conversation

@D-Groenewegen
Copy link

Swap order of arguments

swap arguments
@@ -117,8 +117,8 @@ private function setJSON( string $json, array $args ) {
} else {
throw new FlexFormException(
Copy link
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
);

per suggestion
@D-Groenewegen
Copy link
Author

Any reason not to merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants