Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion EnumConstraint #195

Closed
silverpark opened this issue Oct 28, 2015 · 1 comment
Closed

Suggestion EnumConstraint #195

silverpark opened this issue Oct 28, 2015 · 1 comment

Comments

@silverpark
Copy link

Hi,

I have a suggestion, in the code why not change print_r($schema->enum, true) by json_encode($schema->enum, true) ?

Because it show

[key.exemple] Does not have a value in the enumeration Array\n(\n    [0] => toto\n    [1] => tata\n)\n)

My suggestion display :

[key.exemple] Does not have a value in the enumeration [\"toto\",\"tata\"])

If you approve, I can do an PR.

@bighappyface
Copy link
Collaborator

See #196

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

No branches or pull requests

2 participants