This is not a convention but in almost every example in symfony docs array keys are passed as a string.