Version: 3.0.12
Hello,
Bug Description
I want create generated multi accessor, but in first moment i add only one service and try to run. I got exception with message
Service '011': Method MMEE\User\MultiMethods::get() must have no parameters. I check both interface and neon, but nothing found. After I add second service, that it works.
Steps To Reproduce
interface MultiAccessor
{
function get($name): Listener
}
services:
- App\Model\CacheCleanerAuthSubscriber
- MultiAccessor(
sub1: @App\Mode\CacheCleanerAuthSubscriber
)
Expected Behavior
Works with one service or better message in exception.