Skip to content

Commit 1ac725b

Browse files
author
Tebogo Selahle
committed
chore: add return type
1 parent a215709 commit 1ac725b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

joern-cli/frontends/rubysrc2cpg/src/main/scala/io/joern/rubysrc2cpg/astcreation/AstForFunctionsCreator.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ trait AstForFunctionsCreator(implicit withSchemaValidation: ValidationMode) { th
217217
methodAst
218218
}
219219

220-
private def transformAsClosureBody(originNode: RubyExpression, refs: List[Ast], baseStmtBlockAst: Ast) = {
220+
private def transformAsClosureBody(originNode: RubyExpression, refs: List[Ast], baseStmtBlockAst: Ast): Ast = {
221221
// Determine which locals are captured
222222
val capturedLocalNodes = baseStmtBlockAst.nodes
223223
.collect { case x: NewIdentifier if x.name != Defines.Self => x }

0 commit comments

Comments
 (0)