diff --git a/src/UnicaenLdap/Options/ModuleOptions.php b/src/UnicaenLdap/Options/ModuleOptions.php
index ec88fbf7bc4a509a002c4c7fce18a4c4f2807922..1b8f4344a15e055ebb1cbe284ee510871efd9e60 100644
--- a/src/UnicaenLdap/Options/ModuleOptions.php
+++ b/src/UnicaenLdap/Options/ModuleOptions.php
@@ -256,7 +256,7 @@ class ModuleOptions extends AbstractOptions
     /**
      * @return bool
      */
-    public function getUseStartTls(): bool
+    public function getUseStartTls(): ?bool
     {
         return $this->useStartTls;
     }