chamilo/chamilo-lms

View on GitHub
src/CoreBundle/ServiceHelper/PermissionServiceHelper.php

Summary

Maintainability
A
0 mins
Test Coverage

Closing brace must be on a line by itself
Open

    ) {}

Missing class doc comment
Open

class PermissionServiceHelper

Add a single space around assignment operators
Open

declare(strict_types=1);

Missing function doc comment
Open

    public function getUserRoles(): array

Missing function doc comment
Open

    public function __construct(

Missing function doc comment
Open

    public function hasPermission(string $permissionSlug, array $roles): bool

Line indented incorrectly; expected 4 spaces, found 8
Open

        private ParameterBagInterface $parameterBag,

Closing brace must be on a line by itself
Open

    ) {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        private PermissionRelRoleRepository $permissionRelRoleRepository

There are no issues that match your filters.

Category
Status