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



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2OrfFab
via IFTTT

Aucun commentaire:

Enregistrer un commentaire