1
0
Fork 0

Removed new style array syntax

pull/4832/head
Daniel Mason 2016-01-26 11:47:36 +00:00
parent 41937ef781
commit 48287b5a1c
1 changed files with 2 additions and 2 deletions

View File

@ -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
)
];
);
}
```