How do I configure PHPDoc and Eclipse to ignore 'html'?

Rupert S.

New member
Essentially I'm having trouble with using types in PHPDoc code in Eclipse. When I want to create an array whose members will be of type stdClass I write it thusly:

@param array<stdClass> $var description

However eclipse does not like this as it sees the <stdClass> as an HTML tag. I've done a bit of searching through the PHPDoc documentation and google and essentially it mentions nowhere about handling this type of notation. It does mention PHPDoc allows HTML in longer descriptions etc. but in that case how does one write an array of stdClass types?
 
Back
Top