Support the ongoing development of Laravel.io →
Laravel Blade
0
moderator

Hello @boukharilina

It means you have a return type defined (as Illuminate\Http\Response ) and you need to change it to Illuminate\View\View

Example:
From: public function index(): \Illuminate\Http\Response
To: public function index(): \Illuminate\View\View

boukharilina liked this reply

1

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.