dimanche 29 juillet 2018

Laravel eloquent returns different result type on local and live

on my local eloquent returns object while on live it returns an array.

Why is this happening is there a setting I need to update?

$parent_user   = User::where('email', $organiser->email)->first();

Laravel v5.2



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire