Fix incorrect result of conversion to short array syntax #4

- Check whether TokenId is PHP_TOKEN because it may be PHP_ENCAPSED_AND_WHITESPACE