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