Skip to content

Commit e8be7de

Browse files
authored
Merge pull request #11066 from NeonMika/patch-1
Update static_typing.rst
2 parents 3fc60b4 + 15912fe commit e8be7de

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tutorials/scripting/gdscript/static_typing.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,7 @@ signal in a dynamic style:
439439
And the same callback, with type hints:
440440

441441
::
442-
443-
func _on_area_entered(area: CollisionObject2D) -> void:
442+
func _on_area_2d_body_entered(body: PhysicsBody2D) -> void:
444443
pass
445444

446445
Warning system

0 commit comments

Comments
 (0)