From 5ff41a231c167df2aa99544aeac31e4ac0add04a Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Sun, 1 Dec 2024 20:19:02 +1300 Subject: [PATCH] API Make parameter non-optional for PHP 8.4 --- src/Versioned.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Versioned.php b/src/Versioned.php index c53178a6..e4701c59 100644 --- a/src/Versioned.php +++ b/src/Versioned.php @@ -895,7 +895,7 @@ protected function isTableVersioned($table) * @param DataQuery $dataQuery * @param DataObject $dataObject */ - protected function augmentLoadLazyFields(SQLSelect &$query, ?DataQuery &$dataQuery = null, $dataObject) + protected function augmentLoadLazyFields(SQLSelect &$query, ?DataQuery &$dataQuery, $dataObject) { // The VersionedMode local variable ensures that this decorator only applies to // queries that have originated from the Versioned object, and have the Versioned