mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
[feature/controller] Don't allow a kernel listener to be added with no method
PHPBB3-10864
This commit is contained in:
@@ -49,6 +49,7 @@ $lang = array_merge($lang, array(
|
||||
|
||||
// Event Listener/Subscriber error messages
|
||||
'NO_EVENT_ATTRIBUTE' => 'Service "%1$s" must define the "event" attribute on "kernel.event_listener" tags.',
|
||||
'NO_METHOD_ATTRIBUTE' => 'Service "%1$s" must define the "method" attribute on "kernel.event_listener" tags.',
|
||||
'SUBSCRIBER_WRONG_TYPE' => 'Service "%1$s" must implement interface "%2$s".',
|
||||
|
||||
// Core error controller messages
|
||||
|
Reference in New Issue
Block a user