diff --git a/src/CoreBundle/Form/ChangePasswordType.php b/src/CoreBundle/Form/ChangePasswordType.php index 5e7eab2a34..5196897f89 100644 --- a/src/CoreBundle/Form/ChangePasswordType.php +++ b/src/CoreBundle/Form/ChangePasswordType.php @@ -11,6 +11,11 @@ use Symfony\Component\Form\Extension\Core\Type\PasswordType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; +/** + * @template T of object + * + * @extends AbstractType + */ class ChangePasswordType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options): void diff --git a/src/CoreBundle/Repository/XApiToolLaunchRepository.php b/src/CoreBundle/Repository/XApiToolLaunchRepository.php index 1cddde6133..8ece7c2294 100644 --- a/src/CoreBundle/Repository/XApiToolLaunchRepository.php +++ b/src/CoreBundle/Repository/XApiToolLaunchRepository.php @@ -110,6 +110,7 @@ class XApiToolLaunchRepository extends ServiceEntityRepository ->setParameter('type', TOOL_XAPI) ->setParameter('tool_id', $toolLaunch->getId()) ->getQuery() - ->getSingleScalarResult(); + ->getSingleScalarResult() + ; } }