Showing 2 of 2 total issues
Method getConfigTreeBuilder
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('beelab_user_password');
$rootNode = method_exists($treeBuilder, 'getRootNode') ? $treeBuilder->getRootNode() : $treeBuilder->root('beelab_user_password');
Method confirmAction
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function confirmAction(string $token, Request $request): Response
{
$resetPassword = $this->getDoctrine()
->getRepository($this->getParameter('beelab_user.password_reset_class'))
->findOneByToken($token)