| 1 | <?php | ||
| 13 | class EncodePasswordExtension extends AbstractAdminExtension | ||
| 14 | { | ||
| 15 | /** | ||
| 16 | * @var UserPasswordEncoderInterface | ||
| 17 | */ | ||
| 18 | private $encoder; | ||
| 19 | |||
| 20 | /** | ||
| 21 | * @param UserPasswordEncoderInterface $encoder | ||
| 22 | */ | ||
| 23 | public function __construct(UserPasswordEncoderInterface $encoder) | ||
| 27 | |||
| 28 | /** | ||
| 29 |      * {@inheritDoc} | ||
| 30 | */ | ||
| 31 | public function preUpdate(AdminInterface $admin, $user) | ||
| 35 | |||
| 36 | /** | ||
| 37 |      * {@inheritDoc} | ||
| 38 | */ | ||
| 39 | public function prePersist(AdminInterface $admin, $user) | ||
| 43 | |||
| 44 | /** | ||
| 45 | * @param UserInterface $user | ||
| 46 | */ | ||
| 47 | private function encodePassword(UserInterface $user) | ||
| 55 | } | ||
| 56 | 
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.