Allow casts without property (#1267)

* Allow casts without property

* Update changelog
This commit is contained in:
Silvan Krähenbühl
2021-10-25 13:45:30 +02:00
committed by GitHub
parent dd12b7cdcb
commit a091b9c94a
4 changed files with 5 additions and 0 deletions
@@ -34,5 +34,6 @@ class CustomCast extends Model
'extended_casted_property_with_static_return_docblock' => ExtendedSelfCastingCasterWithStaticDocblockReturn::class,
'extended_casted_property_with_this_return_docblock' => ExtendedSelfCastingCasterWithThisDocblockReturn::class,
'casted_property_with_static_return_docblock_and_param' => SelfCastingCasterWithStaticDocblockReturn::class . ':param',
'cast_without_property' => CustomCasterWithReturnType::class,
];
}