| 1 | <?php | ||
| 11 | class ImageSubscriber implements EventSubscriber | ||
| 12 | { | ||
| 13 | /** | ||
| 14 | * @var S3Manager | ||
| 15 | */ | ||
| 16 | private $s3; | ||
| 17 | |||
| 18 | 7 | public function __construct(S3Manager $s3) | |
| 22 | |||
| 23 | 7 | public function getSubscribedEvents() | |
| 31 | |||
| 32 | /** | ||
| 33 | * @param PreUpdateEventArgs $args | ||
| 34 | */ | ||
| 35 | 4 | public function preUpdate(PreUpdateEventArgs $args) | |
| 48 | |||
| 49 | /** | ||
| 50 | * @param LifecycleEventArgs $args | ||
| 51 | */ | ||
| 52 | 1 | public function prePersist(LifecycleEventArgs $args) | |
| 60 | |||
| 61 | /** | ||
| 62 | * @param LifecycleEventArgs $args | ||
| 63 | */ | ||
| 64 | public function postRemove(LifecycleEventArgs $args) | ||
| 72 | } | ||
| 73 | 
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.