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

[BUG] Missing "MessageInterface" #2394

Closed
scento opened this issue Apr 29, 2014 · 0 comments
Closed

[BUG] Missing "MessageInterface" #2394

scento opened this issue Apr 29, 2014 · 0 comments
Labels
bug A bug report status: medium Medium

Comments

@scento
Copy link

scento commented Apr 29, 2014

Problem
The documentation of the class \Phalcon\Validation\Message\Group refers to a not implemented interface \Phalcon\Validation\MessageInterface, which should act as a parameter for the function appendMessages().

Solutions

  1. Remove the annotation and accept any kind of array containing \Phalcon\Validation\Message objects.
  2. Provide the interface \Phalcon\Validation\MessageInterface which allows the implementation of alternative message adapters.

Priority: Low
This bug report isn't important, since there is currently no kind of interface verification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report status: medium Medium
Projects
None yet
Development

No branches or pull requests

2 participants