diff options
author | Andreas Fischer <bantu@phpbb.com> | 2015-04-02 12:37:34 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2015-04-02 12:37:34 +0200 |
commit | 18d3dd54a11fb9fb22f80d0bba00a4061103e66e (patch) | |
tree | f59a6650b64f34941fdffeb06b2325b3ed4ac82e /phpBB/phpbb/event | |
parent | fbfcbd5aa7eab6e0660b3fd8492cc3387d3267fb (diff) | |
parent | dbb538afbdce345dfc61b06ec6a84313c1141284 (diff) | |
download | forums-18d3dd54a11fb9fb22f80d0bba00a4061103e66e.tar forums-18d3dd54a11fb9fb22f80d0bba00a4061103e66e.tar.gz forums-18d3dd54a11fb9fb22f80d0bba00a4061103e66e.tar.bz2 forums-18d3dd54a11fb9fb22f80d0bba00a4061103e66e.tar.xz forums-18d3dd54a11fb9fb22f80d0bba00a4061103e66e.zip |
Merge pull request #3507 from VSEphpbb/ticket/13725
[ticket/13725] Coding guidelines: static public
* VSEphpbb/ticket/13725:
[ticket/13725] Coding guidelines: static public
Diffstat (limited to 'phpBB/phpbb/event')
-rw-r--r-- | phpBB/phpbb/event/kernel_exception_subscriber.php | 2 | ||||
-rw-r--r-- | phpBB/phpbb/event/kernel_terminate_subscriber.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/event/kernel_exception_subscriber.php b/phpBB/phpbb/event/kernel_exception_subscriber.php index eb7831ad34..0a8a0183dc 100644 --- a/phpBB/phpbb/event/kernel_exception_subscriber.php +++ b/phpBB/phpbb/event/kernel_exception_subscriber.php @@ -106,7 +106,7 @@ class kernel_exception_subscriber implements EventSubscriberInterface $event->setResponse($response); } - public static function getSubscribedEvents() + static public function getSubscribedEvents() { return array( KernelEvents::EXCEPTION => 'on_kernel_exception', diff --git a/phpBB/phpbb/event/kernel_terminate_subscriber.php b/phpBB/phpbb/event/kernel_terminate_subscriber.php index 3a709f73fd..f0d0a2f595 100644 --- a/phpBB/phpbb/event/kernel_terminate_subscriber.php +++ b/phpBB/phpbb/event/kernel_terminate_subscriber.php @@ -32,7 +32,7 @@ class kernel_terminate_subscriber implements EventSubscriberInterface exit_handler(); } - public static function getSubscribedEvents() + static public function getSubscribedEvents() { return array( KernelEvents::TERMINATE => array('on_kernel_terminate', ~PHP_INT_MAX), |