Skip to content

Commit

Permalink
Fix return type of substring method
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoh committed Nov 18, 2022
1 parent f12a737 commit 7fcd3a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public List<Type> getArguments() {

@Override
public Type getReturnType() {
return Type.string();
return Type.optional(Type.string());
}

@Override
Expand Down

0 comments on commit 7fcd3a8

Please sign in to comment.