Skip to content

Conversation

@D-Groenewegen
Copy link

Swap order of arguments

swap arguments
if ( $tJson !== null ) {
$this->json = $tJson;
} 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