mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 03:04:09 +02:00
[ticket/16748] Enable code sniffing for static placement and adjust code
PHPBB3-16748
This commit is contained in:
@@ -130,7 +130,7 @@ class kernel_exception_subscriber implements EventSubscriberInterface
|
||||
$event->setResponse($response);
|
||||
}
|
||||
|
||||
static public function getSubscribedEvents()
|
||||
public static function getSubscribedEvents()
|
||||
{
|
||||
return array(
|
||||
KernelEvents::EXCEPTION => 'on_kernel_exception',
|
||||
|
@@ -34,7 +34,7 @@ class kernel_terminate_subscriber implements EventSubscriberInterface
|
||||
exit_handler();
|
||||
}
|
||||
|
||||
static public function getSubscribedEvents()
|
||||
public static function getSubscribedEvents()
|
||||
{
|
||||
return array(
|
||||
KernelEvents::TERMINATE => array('on_kernel_terminate', ~PHP_INT_MAX),
|
||||
|
Reference in New Issue
Block a user