diff --git a/src/Service/LDAPApi.php b/src/Service/LDAPApi.php
index 3cf9726e9890d690832735b0f3337d802e4a657b..dc3c906d4acce02f5803bcaf008aabcd40dfff88 100644
--- a/src/Service/LDAPApi.php
+++ b/src/Service/LDAPApi.php
@@ -229,6 +229,7 @@ class LDAPApi implements LoggerAwareInterface, ServiceSubscriberInterface
                 throw new NotFoundHttpException(sprintf("Person with id '%s' could not be found!", $identifier));
             }
 
+            /* @var User $user */
             return $user;
         } catch (\Adldap\Auth\BindException $e) {
             // There was an issue binding / connecting to the server.