diff --git a/python/PyQt6/core/auto_generated/qgsfieldconstraints.sip.in b/python/PyQt6/core/auto_generated/qgsfieldconstraints.sip.in index 8c27d2e82162..adf14b5af385 100644 --- a/python/PyQt6/core/auto_generated/qgsfieldconstraints.sip.in +++ b/python/PyQt6/core/auto_generated/qgsfieldconstraints.sip.in @@ -73,7 +73,7 @@ is not present on this field. %Docstring Returns the strength of a field constraint, or ConstraintStrengthNotSet if the constraint is not present on this field. If the strength is not set returns ConstraintStrengthNotSet -for anything but ConstraintExpression when returns ConstraintStrengthHard. +for anything but ConstraintExpression which returns ConstraintStrengthHard. .. seealso:: :py:func:`constraints` diff --git a/python/core/auto_generated/qgsfieldconstraints.sip.in b/python/core/auto_generated/qgsfieldconstraints.sip.in index f26ffa6f6e28..c9530a1a482c 100644 --- a/python/core/auto_generated/qgsfieldconstraints.sip.in +++ b/python/core/auto_generated/qgsfieldconstraints.sip.in @@ -73,7 +73,7 @@ is not present on this field. %Docstring Returns the strength of a field constraint, or ConstraintStrengthNotSet if the constraint is not present on this field. If the strength is not set returns ConstraintStrengthNotSet -for anything but ConstraintExpression when returns ConstraintStrengthHard. +for anything but ConstraintExpression which returns ConstraintStrengthHard. .. seealso:: :py:func:`constraints` diff --git a/src/core/qgsfieldconstraints.h b/src/core/qgsfieldconstraints.h index f23b4cc5005a..8bd87ac260ae 100644 --- a/src/core/qgsfieldconstraints.h +++ b/src/core/qgsfieldconstraints.h @@ -90,7 +90,7 @@ class CORE_EXPORT QgsFieldConstraints /** * Returns the strength of a field constraint, or ConstraintStrengthNotSet if the constraint * is not present on this field. If the strength is not set returns ConstraintStrengthNotSet - * for anything but ConstraintExpression when returns ConstraintStrengthHard. + * for anything but ConstraintExpression which returns ConstraintStrengthHard. * \see constraints() * \see setConstraintStrength() */