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

change method's visibility #881

Merged
merged 1 commit into from Jun 1, 2023
Merged

change method's visibility #881

merged 1 commit into from Jun 1, 2023

Conversation

biz87
Copy link
Member

@biz87 biz87 commented Jun 1, 2023

Что оно делает?

Изменил область видимости метода с private на protected

Зачем это нужно?

При создании кастомного класса заказа, методы, которые в нем используются обязаны быть protected или public, для того чтобы быть видимыми из наследника

@biz87 biz87 merged commit 636c5f7 into master Jun 1, 2023
2 checks passed
@biz87 biz87 deleted the visibility-fix branch June 1, 2023 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants