public/plugin/static/lib/static_plugin.class.php
Method name "StaticPlugin::get_block_title" is not in camel caps format Open
Open
public function get_block_title()
- Exclude checks
Missing function doc comment Open
Open
public function get_content()
- Exclude checks
Missing function doc comment Open
Open
public function get_block_title()
- Exclude checks
Method name "StaticPlugin::get_content" is not in camel caps format Open
Open
public function get_content()
- Exclude checks
The method get_block_title is not named in camelCase. Open
Open
public function get_block_title()
{
return $this->get('block_title');
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_content is not named in camelCase. Open
Open
public function get_content()
{
return $this->get('content');
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}