@@ -2405,9 +2405,9 @@ function type_is(Type $type, string $typeClass) : bool
24052405 * @deprecated please use \Flow\Types\DSL\type_is_any($type, $typeClass, ...$typeClasses): bool instead
24062406 */
24072407#[DocumentationDSL(module: Module::DEPRECATED , type: DSLType::DEPRECATED )]
2408- function type_is_any (Type $ type , string $ typeClass , string ...$ typeClasses ) : bool
2408+ function type_is_any (Type $ type , string ...$ typeClasses ) : bool
24092409{
2410- return type_is_any_new ($ type , $ typeClass , ...$ typeClasses );
2410+ return type_is_any_new ($ type , ...$ typeClasses );
24112411}
24122412
24132413#[DocumentationDSL(module: Module::CORE , type: DSLType::DATA_FRAME )]
@@ -2497,17 +2497,17 @@ function with_entry(string $name, ScalarFunction $function) : WithEntry
24972497}
24982498
24992499#[DocumentationDSL(module: Module::CORE , type: DSLType::HELPER )]
2500- function constraint_unique (string $ reference , string ...$ references ) : UniqueConstraint
2500+ function constraint_unique (string ...$ references ) : UniqueConstraint
25012501{
2502- return new UniqueConstraint ($ reference , ...$ references );
2502+ return new UniqueConstraint (...$ references );
25032503}
25042504
25052505#[DocumentationDSL(module: Module::CORE , type: DSLType::HELPER )]
2506- function constraint_sorted_by (string |Reference $ column , string | Reference ...$ columns ) : SortedByConstraint
2506+ function constraint_sorted_by (string |Reference ...$ columns ) : SortedByConstraint
25072507{
25082508 $ references = \array_map (
25092509 static fn (string |Reference $ ref ) => EntryReference::init ($ ref ),
2510- [ $ column , ... $ columns]
2510+ $ columns,
25112511 );
25122512
25132513 return new SortedByConstraint (...$ references );
0 commit comments