use [] consistenly

Use short array syntax consistenly

automated with https://bitbucket.org/AD7six/php-tools/src