Skip to content

Commit

Permalink
merged branch armetiz/master (PR symfony#8045)
Browse files Browse the repository at this point in the history
This PR was squashed before being merged into the master branch (closes symfony#8045).

Discussion
----------

[Form] Add missing type hint

Commits
-------

4dccee6 [Form] Add missing type hint
  • Loading branch information
fabpot committed May 15, 2013
2 parents da6f190 + 4dccee6 commit a6dd5db
Showing 1 changed file with 5 additions and 4 deletions.
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Form\Exception\UnexpectedTypeException;
use Doctrine\ORM\QueryBuilder;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\DBAL\Connection;

/**
Expand All @@ -33,13 +34,13 @@ class ORMQueryBuilderLoader implements EntityLoaderInterface
/**
* Construct an ORM Query Builder Loader
*
* @param QueryBuilder|\Closure $queryBuilder
* @param EntityManager $manager
* @param string $class
* @param QueryBuilder|\Closure $queryBuilder
* @param EntityManagerInterface $manager
* @param string $class
*
* @throws UnexpectedTypeException
*/
public function __construct($queryBuilder, $manager = null, $class = null)
public function __construct($queryBuilder, EntityManagerInterface $manager = null, $class = null)
{
// If a query builder was passed, it must be a closure or QueryBuilder
// instance
Expand Down

0 comments on commit a6dd5db

Please sign in to comment.