doctrine/DoctrineBundle — comment on commit ace970b0727702c266097156936792e88c04f54c
File: Mapping/MetadataFactory.php line 110
By RapotOR:

Heu... There is a lost bracket!

$r = \new ReflectionClass($all[0]->name);

instead of

$r = \new ReflectionClass($all[0]->name]);