Docvars for arrays not working |
Re: Docvars for arrays not working |
|
Waw, 7 years later, and still not fixed!
Not even feedback from IDE stuff .. Support on NuSphere is really frustrating through the years, sorry. And this forum looks like back in 2005 .. |
||||||||||||
|
|
Very Sad
|
||||||||||||
|
Site Admin
|
I'm not sure that array is a correct type in this context. According to phpDocumenter, it's mixed[] is expected here.
https://docs.phpdoc.org/references/phpdoc/tags/param.html PS the following page refers to array as a valid type too. So it's valid. https://docs.phpdoc.org/references/phpdoc/types.html |
||||||||||||
_________________ The PHP IDE team |
|
Hi,
your are right - proper type should be mixed[] - because arrays may contain anything - strings, floats, objects .. PhpEd, however, generates mixed (without square brackets). Perhaps it's not a big deal, but still - it would be slightly more precise annotation |
||||||||||||
|
Docvars for arrays not working |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by