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
Added three new extensions for better code analysis:
Nette\ComponentModel\Container::getComponent() knows type of the component because it reads the return type on createComponent* (this works best in presenters and controls)
Nette\DI\Container::getByType and createInstance return type based on first parameter (Foo::class).
Methods with fluent interfaces on Nette\Forms\Controls\BaseControl now return the type they were called on (so for example TextInput, not BaseControl)