projek-xyz/slim-framework

View on GitHub
src/helpers.php

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Function array_get has a Cognitive Complexity of 15 (exceeds 5 allowed). Consider refactoring.
Open

function array_get($array, $key, $default = null)
{
if ($array instanceof \Slim\Collection) {
$array = $array->all();
}
Severity: Minor
Found in src/helpers.php - About 1 hr to fix
Category
Status