EscolaLMS/Courses-Import-Export

View on GitHub
src/Http/Controllers/Swagger/CourseExportImportAPISwagger.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

The parameter $course_id is not named in camelCase.
Open

    public function export(int $course_id, GetCourseExportAPIRequest $request): JsonResponse;

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 $course_id is not named in camelCase.
Open

    public function clone(int $course_id, CloneCourseAPIRequest $request): JsonResponse;

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

There are no issues that match your filters.

Category
Status