From 17d6f17b0d631d6331be9ec26dc6c37026827320 Mon Sep 17 00:00:00 2001 From: Fran Moreno Date: Thu, 17 Jan 2013 00:38:03 +0100 Subject: [PATCH] Change order static public to public static --- components/event_dispatcher/container_aware_dispatcher.rst | 2 +- components/event_dispatcher/introduction.rst | 2 +- reference/constraints/Callback.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/event_dispatcher/container_aware_dispatcher.rst b/components/event_dispatcher/container_aware_dispatcher.rst index 74acb144643..a1bfe3e2904 100644 --- a/components/event_dispatcher/container_aware_dispatcher.rst +++ b/components/event_dispatcher/container_aware_dispatcher.rst @@ -74,7 +74,7 @@ The ``EventSubscriberInterface`` will be exactly as you would expect:: class StoreSubscriber implements EventSubscriberInterface { - static public function getSubscribedEvents() + public static function getSubscribedEvents() { return array( 'kernel.response' => array( diff --git a/components/event_dispatcher/introduction.rst b/components/event_dispatcher/introduction.rst index e40c6754ea3..2a4ae1e35a2 100644 --- a/components/event_dispatcher/introduction.rst +++ b/components/event_dispatcher/introduction.rst @@ -339,7 +339,7 @@ subscribes to the ``kernel.response`` and ``store.order`` events:: class StoreSubscriber implements EventSubscriberInterface { - static public function getSubscribedEvents() + public static function getSubscribedEvents() { return array( 'kernel.response' => array( diff --git a/reference/constraints/Callback.rst b/reference/constraints/Callback.rst index 9760dd17b61..2c5d0091f60 100644 --- a/reference/constraints/Callback.rst +++ b/reference/constraints/Callback.rst @@ -186,7 +186,7 @@ process. Each method can be one of the following formats: class MyStaticValidatorClass { - static public function isAuthorValid(Author $author, ExecutionContext $context) + public static function isAuthorValid(Author $author, ExecutionContext $context) { // ... }