Skip to content

Commit 3d42daa

Browse files
committed
1 method call with untyped receiver detected from test.rb. Please assign the expected type to the receiver
1 parent db6c5ad commit 3d42daa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gems/actionpack/6.0/actionpack-generated.rbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9747,10 +9747,10 @@ module ActionDispatch
97479747
# # the class of a record will also map to the collection
97489748
# polymorphic_url(Comment) # same as comments_url()
97499749
#
9750-
def polymorphic_url: (untyped record_or_hash_or_array, ?::Hash[untyped, untyped] options) -> untyped
9750+
def polymorphic_url: (untyped record_or_hash_or_array, ?::Hash[untyped, untyped] options) -> String
97519751

97529752
# Returns the path component of a URL for the given record.
9753-
def polymorphic_path: (untyped record_or_hash_or_array, ?::Hash[untyped, untyped] options) -> untyped
9753+
def polymorphic_path: (untyped record_or_hash_or_array, ?::Hash[untyped, untyped] options) -> String
97549754

97559755
private
97569756

gems/actionpack/7.2/actionpack-generated.rbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9747,10 +9747,10 @@ module ActionDispatch
97479747
# # the class of a record will also map to the collection
97489748
# polymorphic_url(Comment) # same as comments_url()
97499749
#
9750-
def polymorphic_url: (untyped record_or_hash_or_array, ?::Hash[untyped, untyped] options) -> untyped
9750+
def polymorphic_url: (untyped record_or_hash_or_array, ?::Hash[untyped, untyped] options) -> String
97519751

97529752
# Returns the path component of a URL for the given record.
9753-
def polymorphic_path: (untyped record_or_hash_or_array, ?::Hash[untyped, untyped] options) -> untyped
9753+
def polymorphic_path: (untyped record_or_hash_or_array, ?::Hash[untyped, untyped] options) -> String
97549754

97559755
private
97569756

0 commit comments

Comments
 (0)