From 48287b5a1c909ff14a3d0b65170ab83ae873dbfd Mon Sep 17 00:00:00 2001 From: Daniel Mason Date: Tue, 26 Jan 2016 11:47:36 +0000 Subject: [PATCH] Removed new style array syntax --- doc/articles/plugins.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/articles/plugins.md b/doc/articles/plugins.md index 645ae51c0..424f08605 100644 --- a/doc/articles/plugins.md +++ b/doc/articles/plugins.md @@ -118,12 +118,12 @@ If multiple methods should be called, then an array of tupples can be attached t ```php public static function getSubscribedEvents() { - return [ + return array( 'post-autoload-dump' => array( array('methodToBeCalled' ), // Priority defaults to 0 array('someOtherMethodName', 1), // This fires first ) - ]; + ); } ```