Fix syntax warning

Fix Swift syntax warning: 
"Array types are now written with the brackets around the element type"