zend-server-plugins / Laravel

Laravel Plugin for Zend Server
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

Avoids "Call to undefined method Illuminate\Auth\GenericUser::toArray… #1

Closed bognerf closed 9 years ago

bognerf commented 9 years ago

…()" which effectively breaks ZRay and possibly user's application

It does not seem that Illuminate\Auth\GenericUser ever had a method toArray(), so I re-arranged your code a bit.

idangozlan commented 9 years ago

thank you