امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
For example in
PHP:
The phpdocs can be updated to indicate what can be added, like this:
PHP:
I've attached a git patch file which implements this (since I'm using this patch locally since I wanted the type hinting)
AbstractCollection::unshift is defined as:PHP:
کد:
/**
* @return AbstractCollection<T>
*/
public function unshift()
The phpdocs can be updated to indicate what can be added, like this:
PHP:
کد:
/**
* @param T ...$arguments
* @return AbstractCollection<T>
*/
public function unshift()
I've attached a git patch file which implements this (since I'm using this patch locally since I wanted the type hinting)
