src/CourseBundle/Component/CourseCopy/Resources/Attendance.php
The property $attendance_calendar is not named in camelCase. Open
Open
class Attendance extends Resource
{
public $params = [];
public $attendance_calendar = [];
- 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 method add_attendance_calendar is not named in camelCase. Open
Open
public function add_attendance_calendar($data)
{
$this->attendance_calendar[] = $data;
}
- 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() {
}
}