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.
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