You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[CT] Render aliases correctly in the code builder #574
Update: Currently type aliases provided to the code builder are rendered by their short name only. We should change this logic so that we render them according to the class imports of the context class.
Given
useSM\Factory\FactoryasStateMachineFactory;
class Something
{
publicfunction__construct(StateMachineFactory$smFactory)
{
}
complete constructor generates a @var Factory instead of @var StateMachineFactory
Activity
dantleech commentedon Sep 11, 2018
We should ensure that aliases are taken to account when rendering any type.
[-]"complete constructor" : take alias into account[/-][+]Render aliases correctly in the code builder[/+][-]Render aliases correctly in the code builder[/-][+][CT] Render aliases correctly in the code builder[/+]dantleech commentedon Feb 22, 2020
Fixed in #887