chamilo/chamilo-lms

View on GitHub
src/CourseBundle/Component/CourseCopy/Resources/Attendance.php

Summary

Maintainability
A
0 mins
Test Coverage

The property $attendance_calendar is not named in camelCase.
Open

class Attendance extends Resource
{
    public $params = [];
    public $attendance_calendar = [];

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

    public function add_attendance_calendar($data)
    {
        $this->attendance_calendar[] = $data;
    }

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

There are no issues that match your filters.

Category
Status