I noticed today, that when I have a class that extends another class, where I then override a variable and adding @inheritDoc, it won't take over the description.
<?php
class A {
/**
* Description is here
* @var number
*/
public $x = 123;
}
class B extends A {
/** @inheritDoc */
public $x = 123;
}
$b = new B();
$b->x;
The last line should show "Description is here", but it doesn't show anything.