- return array(
- Events::PREPARE => array(
- array('onApiPrepare', Events::W_MIDDLE),
- array('onApiPrepare_validate', Events::W_LATE),
- ),
- );
+ return [
+ Events::PREPARE => [
+ ['onApiPrepare', Events::W_MIDDLE],
+ ['onApiPrepare_validate', Events::W_LATE],
+ ],
+ ];