Util/Partial/OptionTrait.php
Showing 1 of 1 total issue
Function withVariableReference
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
Open
private function withVariableReference(&$variable, $name, $callback) { $keys = $this->handleOptionName($name); if (is_array($keys)) { foreach (array_slice($keys, 0, -1) as $key) {
- Read upRead up