Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Previously you could only specify class names and interfaces, now you can specify object (any object of any class, including StdClass). Mostly only a way to type hint "not array or any scalars". The class names has been around a while and is usually way more useful.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: