Hi everyone,

I'm working on a PSR-14 implementation and I'm facing an issue :
If the argument of a listener is type-hinted with the type "object", should 
the ListenerProvider considers that this listener is matching all events?

I take this opportunity to ask a related question. If the listener is 
invalid (no argument, no type-hint for the argument or a scalar type), 
should I :
- throw an exception
- ignore the listener
- maybe let the choice to the user

Thanks you for your time
Regards

Florian Hermann

-- 
You received this message because you are subscribed to the Google Groups "PHP 
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to php-fig+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/2a0ee60c-d63d-45ff-88d8-82b84c268d40%40googlegroups.com.

Reply via email to