Class methods may be defined as public, private, or protected. Methods declared without any explicit visibility keyword are defined as public. To
prevent any misunderstanding, this visibility should always be explicitly declared.
Noncompliant Code Example
function foo(){...}
Compliant Solution
public function foo(){...}