diff --git a/src/Helpers/NetworkHelper.php b/src/Helpers/NetworkHelper.php
index d7159a40260aa8386a9b69cbed85635a3ae8ddaf..8fa60ff01c4c7faf9a68fbe0b0734cfc2653beb2 100644
--- a/src/Helpers/NetworkHelper.php
+++ b/src/Helpers/NetworkHelper.php
@@ -8,7 +8,6 @@ class NetworkHelper
 {
     public function resolveClientIpAddress(string $clientIpAddress = null): ?string
     {
-        /** @var string|null $clientIpAddress */
         $clientIpAddress = $clientIpAddress ??
             $_SERVER['HTTP_CLIENT_IP'] ??
             $_SERVER['HTTP_X_FORWARDED_FOR'] ??
diff --git a/src/ModuleConfiguration.php b/src/ModuleConfiguration.php
index fe83f63151d45129b09dde07630cb4e0df2ca903..453d1b9677158bff4ec8df7749dc4299ac7e78d7 100644
--- a/src/ModuleConfiguration.php
+++ b/src/ModuleConfiguration.php
@@ -465,7 +465,6 @@ class ModuleConfiguration
 
     public function getTrackerDataRetentionPolicy(): ?DateInterval
     {
-        /** @var string|null $value */
         $value = $this->getConfiguration()
             ->getOptionalString(self::OPTION_TRACKER_DATA_RETENTION_POLICY, null);
 
diff --git a/src/Trackers/Authentication/DoctrineDbal/Versioned/Tracker.php b/src/Trackers/Authentication/DoctrineDbal/Versioned/Tracker.php
index a3e2076fc6af4ad8648382e760fc7e56698a8468..4a9c431134db222cf61515d0b6ba5ec7c4b8a840 100644
--- a/src/Trackers/Authentication/DoctrineDbal/Versioned/Tracker.php
+++ b/src/Trackers/Authentication/DoctrineDbal/Versioned/Tracker.php
@@ -99,17 +99,6 @@ class Tracker implements AuthenticationDataTrackerInterface, AuthenticationDataP
     {
         $dateTime = (new DateTimeImmutable())->sub($retentionPolicy);
 
-        if ($dateTime === false) {
-            // @codeCoverageIgnoreStart
-            $message = sprintf(
-                'Could not create DateTime instance for data retention policy enforcement. Retention policy was: %s.',
-                var_export($retentionPolicy, true)
-            );
-            $this->logger->error($message);
-            throw new InvalidConfigurationException($message);
-            // @codeCoverageIgnoreEnd
-        }
-
         $this->dataStore->deleteDataOlderThan($dateTime);
     }
 }