Sorbet is showing an error for the attr_reader, but correct me if I am wrong, sigs are required when the function is declared, not called, right?
I have tried going through the documentation but all I got is this note
Note: Many Ruby constructs that look like local variables are actually method calls without parens! Specifically, watch out for attr_reader and zero-argument method definitions.
app/util/hodor.rb:125: This function does not have a `sig` https://sorbet.org/docs/error-reference#7017
125 | attr_reader(:collection_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# typed: strict
. The playground defaults to# typed: true
if no sigil is given. In all other places Sorbet defaults to# typed: false
if no sigil is given. sorbet.org/docs/static – Passion