mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
2de3e27f10
- Added detection for when we can infer closure types from parent fn return types - Implemented functionality for infering types of returned closures - Added ability to infer type of return from typed closures - Added a new getFunctionLikeStorage method in Codebase to support easily getting a function despite being a method, closure, or function - Added some utilities to the MethodIdentifier to facilitate creating MethodIdentifier's from string method references Closes #2896 Signed-off-by: RJ Garcia <rj@bighead.net>