Skip to content

[Bug]Form::hasMessagesFor method return object instead of boolean #1764

Closed
@nexik

Description

Docs: http://docs.phalconphp.com/en/latest/api/Phalcon_Forms_Form.html

public boolean hasMessagesFor (unknown $name)
Check if messages were generated for a specific element

In reality it return Phalcon\Validation\Message\Group so it is the same behaviour as

public Phalcon\Validation\Message\Group [] getMessagesFor (unknown $name)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions