pbyrne84 / DynamicReturnTypePlugin

135 stars 7 forks source link

Look into the multiple return type signature thing. #42

Open pbyrne84 opened 9 years ago

pbyrne84 commented 9 years ago

Reverse : https://github.com/pbyrne84/DynamicReturnTypePlugin/commit/4405f1073604499357deabdf582e2f0aa5368204#diff-3b70c590b8f245dd15bc936ae0fa6857

so instead of filtering out more than one, send back multi signatures merging the results for each one in the getBySignature part.

This 'may' help with type loss in the warning comment // Do not add the methods getMock or getAccessibleMock to this configuration // because additive type information gets lost. Use comments to define object types.

https://github.com/lolli42/TYPO3.CMS-Catharsis/commit/90a7f8ef436d2b6cb88b715c0ba6240ae4110174#diff-1a0747ff5e735597cead4ff15a210886

pbyrne84 commented 9 years ago

Masks are used sometimes for multiple type aliasing, maybe add phpdoc reading of the original( confiugrable?)