diff --git a/src/Resources/skeleton/security/UserProvider.tpl.php b/src/Resources/skeleton/security/UserProvider.tpl.php
index <HASH>..<HASH> 100644
--- a/src/Resources/skeleton/security/UserProvider.tpl.php
+++ b/src/Resources/skeleton/security/UserProvider.tpl.php
@@ -36,8 +36,8 @@ class <?= $class_name ?> implements UserProviderInterface<?= $password_upgrader 
     {
         return $this->loadUserByIdentifier($username);
     }
-<?php endif ?>
 
+<?php endif ?>
     /**
      * Refreshes the user after being reloaded from the session.
      *
Update src/Resources/skeleton/security/UserProvider.tpl.php