Created bundle, controller, action and view

try writing array as [], guess you have appropriate php version