امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
getAutoCompleteResults isn't checking the return result of getAutoCompleteResultgetAutoCompleteResult has the type signature public function getAutoCompleteResult(Entity $entity,array $options = []): ?array;But it is used as:
PHP:
کد:
return array_filter(array_merge(
[
'id' => $result->getEntityContentTypeId(),
'type' => \XF::app()->getContentTypePhrase($type),
],
$handler->getAutoCompleteResult($result, $options)...
Read more
