Skip to content

Conversation

@Khuthaily
Copy link
Contributor

This PR is backwards compatible and keeps the public API and behavior the same, but avoids the deprecation warning in PHP 8.5+.

This PR is backwards compatible and keeps the public API and behavior the same, but avoids the deprecation warning in PHP 8.5+.
$cacheKey = $query ?? '';

if (! isset($this->_logIndexCache[$cacheKey])) {
$this->_logIndexCache[$cacheKey] = new LogIndex($this, $query);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably should be the same

Suggested change
$this->_logIndexCache[$cacheKey] = new LogIndex($this, $query);
$this->_logIndexCache[$cacheKey] = new LogIndex($this, $cacheKey);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants