Support the ongoing development of Laravel.io →
1 year ago
Last updated 3 weeks ago.
0

You forgot the end curly bracket }. Try this

public function loadViewData() { $viewData = []; }

0

Sign in to participate in this thread!

LaraJobs

Your banner here too?

phpmorgan phpmorgan lawdrive Joined 25 Jan 2021

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.