class/plugin/interface.php
Each interface must be in a namespace of at least one level (a top-level vendor name) Open
Open
interface UserlogPluginInterface
- Exclude checks
The parameter $subscribe_from is not named in camelCase. Open
Open
public function item($subscribe_from);
- 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) {
}
}