JBlond/php-router

View on GitHub
src/classes/jblond/router/Responses.php

Summary

Maintainability
A
0 mins
Test Coverage

The variable $header_array is not named in camelCase.
Open

    public function headers(array $header_array): void
    {
        foreach ($header_array as $header => $value) {
            $this->header($header, $value);
        }

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

There are no issues that match your filters.

Category
Status