Skip to content

Commit

Permalink
fix: Fix issue where Transient may be constructed with null eraseDups…
Browse files Browse the repository at this point in the history
… value.
  • Loading branch information
Fludem committed Dec 8, 2024
1 parent 99815c8 commit fd6693a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Readline/Transient.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function __construct($historyFile = null, $historySize = 0, $eraseDups =
// don't do anything with the history file...
$this->history = [];
$this->historySize = $historySize;
$this->eraseDups = $eraseDups;
$this->eraseDups = $eraseDups ?? false;
}

/**
Expand Down

0 comments on commit fd6693a

Please sign in to comment.