I see this (@var) in php comments a lot and have no clue what it means. Please tell.
// example.php (taken from yii framework application code)
It is in an inline type hint.
e.g.
/* @var bool */ $switch
In this case it means $this is of type CategoriesController and $data is of type Categories
$this
CategoriesController
$data
Categories
Often used by IDEs for type hinting.