Skip to content

Add class method visibility to currently implicit methods#770

Open
Ayesh wants to merge 1 commit intoerusev:masterfrom
Ayesh:method-visibility
Open

Add class method visibility to currently implicit methods#770
Ayesh wants to merge 1 commit intoerusev:masterfrom
Ayesh:method-visibility

Conversation

@Ayesh
Copy link
Copy Markdown
Contributor

@Ayesh Ayesh commented May 11, 2020

There are few methods in the Parsedown class that do not explicitly declare visibility. Protected methods are declared as such, but I would like to propose that we mark all implicit public methods as public.

It's considered a good practice, and PSR-2 and 12 both recommend to declare visibility modifiers too.

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.

1 participant