diff --git a/src/PersistentData/PersistentDataManager.php b/src/PersistentData/PersistentDataManager.php index 9ede090..4388d9f 100644 --- a/src/PersistentData/PersistentDataManager.php +++ b/src/PersistentData/PersistentDataManager.php @@ -13,9 +13,9 @@ class PersistentDataManager implements IPersistentDataManager { private IConnection $dbConnection; - private IAuditLogger $auditLogger; + private ?IAuditLogger $auditLogger; - public function __construct(IConnection $dbConnection, IAuditLogger $auditLogger) + public function __construct(IConnection $dbConnection, ?IAuditLogger $auditLogger = null) { $this->dbConnection = $dbConnection; $this->auditLogger = $auditLogger;