diff --git a/core/core.api.php b/core/core.api.php index 639e55dd97803ce11e83119591fc6390168d4092..d9cf7346c53ea7a4b7540753bfb46c1af82d5203 100644 --- a/core/core.api.php +++ b/core/core.api.php @@ -2493,7 +2493,7 @@ function hook_validation_constraint_alter(array &$definitions) { * this class is subscribed to, and which methods on the class should be * called for each one. Example: * @code - * public function getSubscribedEvents() { + * public static function getSubscribedEvents() { * // Subscribe to kernel terminate with priority 100. * $events[KernelEvents::TERMINATE][] = array('onTerminate', 100); * // Subscribe to kernel request with default priority of 0.