امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I just had a case where I did
In rare circumstances I would get a "could not call
This was puzzling as the call uses
In rare circumstances this would NOT return a collection because the
Read more
$entity->TagRelations->pluckNamed('Tag', 'tag_id')->toArray().In rare circumstances I would get a "could not call
toArray() on array" error.This was puzzling as the call uses
pluck() in the implementation and because Tag is uppercase, it will have $collectionOnEmpty=true so it should return a collection. That's the name of the variable.In rare circumstances this would NOT return a collection because the
Tag pointed at...Read more
