Skip to content

Commit

Permalink
Fix: failed to install audit: Typed property superbig\audit\models\Se…
Browse files Browse the repository at this point in the history
…ttings::$tempPath must not be accessed before initialization

Fix issue sjelfull#76
  • Loading branch information
duxabilii authored Dec 18, 2023
1 parent a0f0838 commit 40721d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ class Settings extends Model
/**
* Where to save Maxmind DB files
*/
public string $dbPath;
public string $tempPath;
public ?string $dbPath = null;
public ?string $tempPath = null;

public bool $logPluginEvents = true;
public bool $logDraftEvents = false;
Expand Down

0 comments on commit 40721d1

Please sign in to comment.