- * @param object|string $objectOrClass The object or its class name
- * @param string $propertyName The name of the property
- * @param mixed $value The value to validate against the
- * property's constraints
- * @param array|null $groups The validation groups to validate. If
- * none is given, "Default" is assumed
+ * @param object|string $objectOrClass The object or its class name
+ * @param string $propertyName The name of the property
+ * @param mixed $value The value to validate against the property's constraints
+ * @param string|GroupSequence|(string|GroupSequence)[]|null $groups The validation groups to validate. If none is given, "Default" is assumed