doctrine/doctrine2 — pull request #1161 by gammamatrix (2014-10-14 03:37:40+00:00)
Title: Fixing error with from() parameters in example

The from method requires $from and the $alias to be separate parameters.

public function from($from, $alias, $indexBy = null);

The examples show: from('User u')