lib/Statistics/StatsInterface.php
The parameter $stat_id is not named in camelCase. Open
Open
public function getStatistic($stat_id);
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
interface StatsInterface {
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public function getStatistic($stat_id);
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
}
- Exclude checks