Remove square bracket array notation to support PHP < 5.4.

Signed-off-by: Euan T <euantorano@gmail.com>