src/Entries/UpdateEntryCommand.php
The parameter $entry_id is not named in camelCase. Open
Open
public function __construct($entity, $entry_id, array $input)
{
$this->entity = $entity;
$this->entry_id = $entry_id;
$this->input = $input;
- 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
The property $entry_id is not named in camelCase. Open
Open
class UpdateEntryCommand
{
/**
* The Entity
* @var
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The variable $entry_id is not named in camelCase. Open
Open
public function __construct($entity, $entry_id, array $input)
{
$this->entity = $entity;
$this->entry_id = $entry_id;
$this->input = $input;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}