Merge pull request 'make auditlogger optional in persistent data manager' (#12) from bugfix/make-auditlogger-optional into master
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				soko-web/pipeline/head This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	soko-web/pipeline/head This commit looks good
				
			Reviewed-on: #12
This commit is contained in:
		
						commit
						445774e59a
					
				@ -13,9 +13,9 @@ class PersistentDataManager implements IPersistentDataManager
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    private IConnection $dbConnection;
 | 
					    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->dbConnection = $dbConnection;
 | 
				
			||||||
        $this->auditLogger = $auditLogger;
 | 
					        $this->auditLogger = $auditLogger;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user