Starting with php version 8.4:
public function interpretRules(array $conditions = null)
triggers E_DEPRECATED warning (type hint (array) doesn't explicitly allow null value).
I expect changing to:
public function interpretRules(?array $conditions = null)
// or
public function interpretRules(array|null $conditions = null)
would fix this issue.
Note that in php 9.0 this will be fatal error.