phalcon/ide-stubs

Validation and ValidationInterface "add" method incompatible

sonerb opened this issue · 1 comments

I am using ide-stubs while developing phalcon micro application in vs-code. Also i am using intelephense for php codes.

Intelephense error on validator "add" method for array string. (issue link)

We realize Validation "add" method and ValidationInterface "add" method is incompatible.

Validation get mixed type argument but ValidationInterface get string type argument for "field"

niden commented

This has been fixed. Thank you for reporting @sonerb