I'm using short syntax to define member variables of a class so instead of
private $a;
private $b;
private $c;
I use
private
$a,
$b,
$c;
Now I use PHPDoc to tell the IDE of the type of each member like so:
/** @var classA */
private $a;
/** @var classB */
private $b;
/** @var classC */
private $c;
However this doesn't work with the short syntax:
private
/** @var classA */
$a,
/** @var classB */
$b,
/** @var classC */
$c;
What am I doing wrong?