So, PHP 8.4 deprecated implicit nullability.
public function withFooQuery(
callable $callable,
string $relationAlias = null, // Can't do this anymore
?string $joinType = Criteria::LEFT_JOIN
)
Instead it must be:
public function withFooQuery(
callable $callable,
?string $relationAlias = null,
?string $joinType = Criteria::LEFT_JOIN
)
I noticed this error on these methods, but it also occurs in the base classes in setters where the parameter is nullable (fixed by #37), and I'm sure in many others as well.