Skip to content

Conversation

@Wiltzsu
Copy link
Contributor

@Wiltzsu Wiltzsu commented Oct 25, 2025

Fix PHP 8.4 compatibility: Add missing void return type to resetBuilderState()

Problem:
Running composer create-project quantum/project project throws a fatal error:

PHP Fatal error: Declaration of Quantum\Libraries\Database\Adapters\Sleekdb\SleekDbal::resetBuilderState() must be compatible with Quantum\Libraries\Database\Adapters\Sleekdb\Statements\Result::resetBuilderState(): void

Solution:
Added missing : void return type to the resetBuilderState() method in SleekDbal class to match the abstract method signature in the Result trait.

Files Changed:

  • src/Libraries/Database/Adapters/Sleekdb/SleekDbal.php (line 373)

@armanist armanist self-requested a review October 27, 2025 08:03
@armanist
Copy link
Member

Great observation!

@armanist armanist added the bug Something isn't working label Oct 27, 2025
@armanist armanist added this to the 2.9.9 milestone Oct 27, 2025
@armanist armanist merged commit 60d7ebf into softberg:master Oct 27, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants