inertiajs / pingcrm

A demo application to illustrate how Inertia.js works.

Home Page:http://demo.inertiajs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ')'

creativtools opened this issue · comments

I´m getting this error online but not in local development.
Something about with the following line on the controller - index function:

->through(fn ($organization) =>

Fixed by updating the PHP version on the server.