what is the usage of response setContent in laravel index file?

Viewed 19

I started to develope some new feature on old laravel project from another developer that i don't have access to him I saw some modification in index.php that I never seen this before what is the usage on this code in index.php in public folder

 $response->setContent($response->content());

can I delete it? this single line of code is reason of some problem in my project

1 Answers

If I were you in this case I will remove it to see it fails, then trace the failure and decide if there is a need for this line or not.

Related