zephir
zephir copied to clipboard
[NFR]: Multiple parameter and return types
Allow multiple class return types:
test() -> <Model> | <Row> | null
// or
test() -> <Model | Row> | null
Allow multiple parameter types:
test(array | null data) -> void