1 | <?php |
||
13 | class Registry extends ManagerRegistry implements ResetInterface |
||
14 | { |
||
15 | /** |
||
16 | * @param string[] $connections |
||
17 | * @param string[] $entityManagers |
||
18 | * @param string $defaultConnection |
||
19 | * @param string $defaultEntityManager |
||
20 | */ |
||
21 | public function __construct(ContainerInterface $container, array $connections, array $entityManagers, $defaultConnection, $defaultEntityManager) |
||
27 | |||
28 | /** |
||
29 | * Resolves a registered namespace alias to the full namespace. |
||
30 | * |
||
31 | * This method looks for the alias in all registered entity managers. |
||
32 | * |
||
33 | * @see Configuration::getEntityNamespace |
||
34 | * |
||
35 | * @param string $alias The alias |
||
36 | * |
||
37 | * @return string The full namespace |
||
38 | */ |
||
39 | public function getAliasNamespace($alias) |
||
50 | |||
51 | public function reset() : void |
||
57 | } |
||
58 |
Our type inference engine has found a suspicous assignment of a value to a property. This check raises an issue when a value that can be of a given class or a super-class is assigned to a property that is type hinted more strictly.
Either this assignment is in error or an instanceof check should be added for that assignment.