src/Collectors/RequestStartTime.php
The property $start_time is not named in camelCase. Open
Open
class RequestStartTime
{
/**
* @var float
*/
- 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 parameter $start_time is not named in camelCase. Open
Open
public function setStartTime(float $start_time): void
{
$this->start_time = $start_time;
}
- 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 parameter $start_time is not named in camelCase. Open
Open
public function __construct(float $start_time)
{
$this->start_time = $start_time;
}
- 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 variable $start_time is not named in camelCase. Open
Open
public function __construct(float $start_time)
{
$this->start_time = $start_time;
}
- 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();
}
}
Source
The variable $start_time is not named in camelCase. Open
Open
public function setStartTime(float $start_time): void
{
$this->start_time = $start_time;
}
- 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();
}
}