I see both angle brackets and curly braces used in PHP docblocks used when typehinting arrays.
/**
* @return array<name:int,link:string,items:array<class:string,active:bool>>
*/
Or
/**
*@return array{name:string,active:bool}
*/
I've tried to find something on this type of type hinting in docblocks in the documentation, but found nothing.
Can anyone clear this up for me.