sant0ro/chocolatey

View on GitHub
app/Http/Controllers/RoomsController.php

Summary

Maintainability
A
0 mins
Test Coverage

Avoid unused parameters such as '$roomRange'.
Open

    public function getLeader($countryId, $roomRange, $roomInterval): JsonResponse

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter

Avoid unused parameters such as '$roomInterval'.
Open

    public function getLeader($countryId, $roomRange, $roomInterval): JsonResponse

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter

Avoid unused parameters such as '$countryId'.
Open

    public function getLeader($countryId, $roomRange, $roomInterval): JsonResponse

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter

TODO found
Open

     * @TODO: Make Possible Filter with all the Possible Criteria

There are no issues that match your filters.

Category
Status