laravel/framework

View on GitHub
src/Illuminate/View/DynamicComponent.php

Summary

Maintainability
A
1 hr
Test Coverage

Method render has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function render()
    {
        $template = <<<'EOF'
<?php extract(collect($attributes->getAttributes())->mapWithKeys(function ($value, $key) { return [Illuminate\Support\Str::camel(str_replace([':', '.'], ' ', $key)) => $value]; })->all(), EXTR_SKIP); ?>
{{ props }}
Severity: Minor
Found in src/Illuminate/View/DynamicComponent.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status