Skip to content

Commit 95582d6

Browse files
franmomuweaverryan
authored andcommitted
Change order static public to public static
1 parent c0091d4 commit 95582d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/event_dispatcher/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ subscribes to the ``kernel.response`` and ``store.order`` events:
404404
405405
class StoreSubscriber implements EventSubscriberInterface
406406
{
407-
static public function getSubscribedEvents()
407+
public static function getSubscribedEvents()
408408
{
409409
return array(
410410
'kernel.response' => array(

reference/constraints/Callback.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ process. Each method can be one of the following formats:
188188
189189
class MyStaticValidatorClass
190190
{
191-
static public function isAuthorValid(Author $author, ExecutionContext $context)
191+
public static function isAuthorValid(Author $author, ExecutionContext $context)
192192
{
193193
// ...
194194
}

0 commit comments

Comments
 (0)