diff --git a/src/UnicaenAuth/Authentication/Adapter/AbstractFactory.php b/src/UnicaenAuth/Authentication/Adapter/AbstractFactory.php
index 629eca68cd3f5c0c0986a94d175d0ccb8c38d0e2..6a32bd9776f9ed6e46266898316d6fcccf929173 100644
--- a/src/UnicaenAuth/Authentication/Adapter/AbstractFactory.php
+++ b/src/UnicaenAuth/Authentication/Adapter/AbstractFactory.php
@@ -104,7 +104,7 @@ class AbstractFactory implements AbstractFactoryInterface
                 $userService = $container->get('unicaen-auth_user_service');
                 $adapter->setUserService($userService);
 
-                /** @var TreeRouteStack $router */
+                /** @var mixed $router */
                 $router = $container->get('router');
                 $adapter->setRouter($router);
 
diff --git a/src/UnicaenAuth/Authentication/Adapter/Cas.php b/src/UnicaenAuth/Authentication/Adapter/Cas.php
index 328af5ae906cc73117fdf9b67f7570e8386e991f..aae61da666cd0da97120f6e63fe47ddbcc9c3e45 100644
--- a/src/UnicaenAuth/Authentication/Adapter/Cas.php
+++ b/src/UnicaenAuth/Authentication/Adapter/Cas.php
@@ -63,12 +63,12 @@ class Cas extends AbstractAdapter implements EventManagerAwareInterface
     }
 
     /**
-     * @var TreeRouteStack
+     * @var mixed
      */
     private $router;
 
     /**
-     * @param TreeRouteStack $router
+     * @param mixed $router
      */
     public function setRouter($router)
     {