Changed [] with array() to decrease PHP version requirements

Change-Id: If63585376fc4ef759602f879eea7a617d6e6d354
Merge pull request #12 from GoktugOzturk/master

Fixes #11