File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/Symfony/Bridge/Doctrine/Form/ChoiceList Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 13
13
14
14
use Symfony \Component \Form \Exception \UnexpectedTypeException ;
15
15
use Doctrine \ORM \QueryBuilder ;
16
+ use Doctrine \ORM \EntityManagerInterface ;
16
17
use Doctrine \DBAL \Connection ;
17
18
18
19
/**
@@ -33,13 +34,13 @@ class ORMQueryBuilderLoader implements EntityLoaderInterface
33
34
/**
34
35
* Construct an ORM Query Builder Loader
35
36
*
36
- * @param QueryBuilder|\Closure $queryBuilder
37
- * @param EntityManager $manager
38
- * @param string $class
37
+ * @param QueryBuilder|\Closure $queryBuilder
38
+ * @param EntityManagerInterface $manager
39
+ * @param string $class
39
40
*
40
41
* @throws UnexpectedTypeException
41
42
*/
42
- public function __construct ($ queryBuilder , $ manager = null , $ class = null )
43
+ public function __construct ($ queryBuilder , EntityManagerInterface $ manager = null , $ class = null )
43
44
{
44
45
// If a query builder was passed, it must be a closure or QueryBuilder
45
46
// instance
You can’t perform that action at this time.
0 commit comments