So after some consulting with a colleague, he explained it roughly as follows:
When you are type hinting an array in a php docblock you use the angle brackets <>
to indicate types at different indices in the array. You use curly braces {}
for associative arrays where you specify the keys and types their values have.
/**
* Only angle brackets:
* @return array<int,string,bool>
*/
Vs.
/**
* A combination of curly braces and angle brackets
* @return array{name:string,active:bool,items:array<int,string,bool>}
*/
For anyone who had the same question
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…