fix of the UIgenerator

for solve this error

 "Argument 2 passed to Twig_Environment::Render() must be an array, string given called in .../vendor/sensio/generator-bundle/Sensio/Bundle/GeneratorBundle/Generator/Generator.php on line 45 and defined in .../vendor/twig/twig/lib/Twig/Environment.php line 286."