ParseError thrown

syntax error, unexpected '=>' (T_DOUBLE_ARROW)