Level 60
Your code looks OK, maybe there's a parenthesis inside of a partial?
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
@if(config('layout.subheader.display')) @if(array_key_exists(config('layout.subheader.layout'), config('layout.subheader.layouts'))) @include('layout.partials.subheader.'.config('layout.subheader.layout')) @else @include('layout.partials.subheader.'.array_key_first(config('layout.subheader.layouts'))) @endif @endif
this code give me a close parenthesis in the blade .. why ?
Please or to participate in this conversation.