phalcon/ide-stubs

Wrong type 'mixed', expecting 'string' as defined by Serializable::unserialize

stramunin opened this issue · 6 comments

When using psalm, it outputs:
ERROR: MethodSignatureMismatch - *** - Argument 1 of Phalcon\Mvc\Model::unserialize has wrong type 'mixed', expecting 'string' as defined by Serializable::unserialize ***

Why changed in last commit?
65144f2#diff-a2186858aa1902a5d897c30a1b5615c5R1572

See: http://php.net/manual/serializable.unserialize.php

Who knows how to suppress this errors in psalm config?

+1

I think this is fixed in the v4. @Jeckerson Do you agree?

Probably yes =)

Ok closing this. Thnx