mirror of
https://github.com/pestphp/pest.git
synced 2026-03-10 01:37:21 +01:00
Improved generics for higher order
This commit is contained in:
@ -14,6 +14,8 @@ trait RetrievesValues
|
||||
*
|
||||
* Safely retrieve the value at the given key from an object or array.
|
||||
*
|
||||
* @template TRetrievableValue
|
||||
*
|
||||
* @param array<string, TRetrievableValue>|object $value
|
||||
* @param TRetrievableValue|null $default
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user