| 1 | <?php |
||
| 11 | class RegistrationListener |
||
| 12 | {
|
||
| 13 | /** |
||
| 14 | * @var EntityManager |
||
| 15 | */ |
||
| 16 | private $entityManager; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param EntityManager $entityManager |
||
| 20 | */ |
||
| 21 | public function __construct(EntityManager $entityManager) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param UserEvent $event |
||
| 28 | */ |
||
| 29 | public function onRegister(UserEvent $event) |
||
| 47 | } |
||
| 48 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.