To document a variable that can take an array that receives a vector whose values ββare strings:
$foo = array('A', 'B', 'C');
Document a variable that can take an array that receives a vector whose values ββare integers:
$foo = array(1, 5, 0);
How should I document a variable whose values ββare mixed arrays?
I need a document of such an array:
$foo = array( array('value A', 1, $this), array('value b', 2, NULL), array('value X', 15, new Test) );
I imagine something like this:
/* * @var array[][string|int|object|null] Description. */
source share