Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using object property instead of getVar everywhere where is possible #744

Merged
merged 5 commits into from
Dec 16, 2020
Merged

Using object property instead of getVar everywhere where is possible #744

merged 5 commits into from
Dec 16, 2020

Conversation

MekDrop
Copy link
Member

@MekDrop MekDrop commented Aug 21, 2020

With new properties system it's possible to access object data without calling getVar function. This helps IDEs to know type of each property and some extra info. Also, for typehinting.

This pull request converts everywhere in core where is possible all getVars to object properties.

@fiammybe fiammybe merged commit feffb80 into ImpressCMS:master Dec 16, 2020
@MekDrop MekDrop deleted the improvement/convert-getVar-to-object-property-everywhere-in-core branch December 16, 2020 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants