chamilo/chamilo-lms

View on GitHub
src/CoreBundle/Controller/LegalController.php

Summary

Maintainability
A
0 mins
Test Coverage

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[Route('/legal')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Route('/extra-fields', name: 'chamilo_core_get_extra_fields')]

You must use "/**" style comments for a function comment
Open

    public function getExtraFields(Request $request): JsonResponse

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Route('/save', name: 'chamilo_core_legal_save', methods: ['POST'])]

Add a single space around assignment operators
Open

declare(strict_types=1);

You must use "/**" style comments for a function comment
Open

    public function saveLegal(

You must use "/**" style comments for a class comment
Open

class LegalController

There are no issues that match your filters.

Category
Status